mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-12-04 21:02:56 +08:00
Updated error report tool to support all launcher .exes
This commit is contained in:
parent
be73ea2bcb
commit
1f75bd8e06
@ -38,7 +38,13 @@ namespace CodeWalker.ErrorReport
|
|||||||
{
|
{
|
||||||
var msg = errLastEntry.Message;
|
var msg = errLastEntry.Message;
|
||||||
var lines = msg.Split('\n');
|
var lines = msg.Split('\n');
|
||||||
if ((lines.Length > 0) && (lines[0].Contains("CodeWalker.exe")))
|
if (lines.Length > 0)
|
||||||
|
{
|
||||||
|
var l = lines[0];
|
||||||
|
if (l.Contains("CodeWalker.exe") ||
|
||||||
|
l.Contains("CodeWalker RPF Explorer.exe") ||
|
||||||
|
l.Contains("CodeWalker Ped Viewer.exe") ||
|
||||||
|
l.Contains("CodeWalker Vehicle Viewer.exe"))
|
||||||
{
|
{
|
||||||
ErrorTextBox.Text = msg.Replace("\n", "\r\n");
|
ErrorTextBox.Text = msg.Replace("\n", "\r\n");
|
||||||
found = true;
|
found = true;
|
||||||
@ -47,6 +53,7 @@ namespace CodeWalker.ErrorReport
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user