attempt to fix bootstrapper crashes
This commit is contained in:
parent
970cc83e65
commit
fa6c8e9a0e
|
|
@ -20,7 +20,6 @@ namespace Novetus.Bootstrapper
|
||||||
Process client = new Process();
|
Process client = new Process();
|
||||||
client.StartInfo.FileName = filePath + @"\\" + appName;
|
client.StartInfo.FileName = filePath + @"\\" + appName;
|
||||||
client.StartInfo.Arguments = args;
|
client.StartInfo.Arguments = args;
|
||||||
client.StartInfo.UseShellExecute = true;
|
|
||||||
if (SecurityFuncs.IsElevated)
|
if (SecurityFuncs.IsElevated)
|
||||||
{
|
{
|
||||||
client.StartInfo.Verb = "runas";
|
client.StartInfo.Verb = "runas";
|
||||||
|
|
|
||||||
|
|
@ -1312,7 +1312,6 @@ public partial class AssetSDK : Form
|
||||||
proc.StartInfo.FileName = EXEName;
|
proc.StartInfo.FileName = EXEName;
|
||||||
proc.StartInfo.Arguments = "\"" + FileName + "\" " + MeshConverter_MeshVersionSelector.Text;
|
proc.StartInfo.Arguments = "\"" + FileName + "\" " + MeshConverter_MeshVersionSelector.Text;
|
||||||
proc.StartInfo.CreateNoWindow = false;
|
proc.StartInfo.CreateNoWindow = false;
|
||||||
proc.StartInfo.UseShellExecute = false;
|
|
||||||
proc.StartInfo.RedirectStandardOutput = true;
|
proc.StartInfo.RedirectStandardOutput = true;
|
||||||
proc.EnableRaisingEvents = true;
|
proc.EnableRaisingEvents = true;
|
||||||
proc.Exited += new EventHandler(OBJ2MeshV1Exited);
|
proc.Exited += new EventHandler(OBJ2MeshV1Exited);
|
||||||
|
|
|
||||||
|
|
@ -123,15 +123,11 @@ public partial class NovetusSDK : Form
|
||||||
case SDKApps.ScriptGenerator:
|
case SDKApps.ScriptGenerator:
|
||||||
Process proc = new Process();
|
Process proc = new Process();
|
||||||
proc.StartInfo.FileName = GlobalPaths.DataDir + "\\RSG.exe";
|
proc.StartInfo.FileName = GlobalPaths.DataDir + "\\RSG.exe";
|
||||||
proc.StartInfo.CreateNoWindow = false;
|
|
||||||
proc.StartInfo.UseShellExecute = false;
|
|
||||||
proc.Start();
|
proc.Start();
|
||||||
break;
|
break;
|
||||||
case SDKApps.LegacyPlaceConverter:
|
case SDKApps.LegacyPlaceConverter:
|
||||||
Process proc2 = new Process();
|
Process proc2 = new Process();
|
||||||
proc2.StartInfo.FileName = GlobalPaths.DataDir + "\\Roblox_Legacy_Place_Converter.exe";
|
proc2.StartInfo.FileName = GlobalPaths.DataDir + "\\Roblox_Legacy_Place_Converter.exe";
|
||||||
proc2.StartInfo.CreateNoWindow = false;
|
|
||||||
proc2.StartInfo.UseShellExecute = false;
|
|
||||||
proc2.Start();
|
proc2.Start();
|
||||||
break;
|
break;
|
||||||
case SDKApps.DiogenesEditor:
|
case SDKApps.DiogenesEditor:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue