1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added Relaunch option on crash dialog

This commit is contained in:
Brian Fiete 2020-09-17 14:15:38 -07:00
parent 980132c3cc
commit a215bac755
7 changed files with 79 additions and 7 deletions

View file

@ -2596,6 +2596,14 @@ namespace IDE
mBfResolveCompiler.QueueSetWorkspaceOptions(null, 0);
#endif
String relaunchCmd = scope .();
relaunchCmd.Append("\"");
Environment.GetExecutableFilePath(relaunchCmd);
relaunchCmd.Append("\" -workspace=\"");
relaunchCmd.Append(mWorkspace.mDir);
relaunchCmd.Append("\"");
Platform.BfpSystem_SetCrashRelaunchCmd(relaunchCmd);
MarkDirty();
}