mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Only use '.exe' file extension for windows.
This commit is contained in:
parent
7f4fd1e87d
commit
94f39b3de7
1 changed files with 6 additions and 1 deletions
|
@ -179,7 +179,12 @@ namespace IDE.util
|
|||
if (!CheckInit())
|
||||
return;
|
||||
|
||||
String beefBuildPath = scope $"{gApp.mInstallDir}BeefBuild.exe";
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
let ext = ".exe";
|
||||
#else
|
||||
let ext = "";
|
||||
#endif
|
||||
String beefBuildPath = scope $"{gApp.mInstallDir}BeefBuild{ext}";
|
||||
String args = scope $"-run";
|
||||
var execInst = gApp.DoRun(beefBuildPath, args, path, .None);
|
||||
execInst?.mAutoDelete = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue