1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Only use '.exe' file extension for windows.

This commit is contained in:
MineBill 2025-04-15 12:31:14 +03:00
parent 7f4fd1e87d
commit 94f39b3de7
No known key found for this signature in database

View file

@ -179,7 +179,12 @@ namespace IDE.util
if (!CheckInit()) if (!CheckInit())
return; 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"; String args = scope $"-run";
var execInst = gApp.DoRun(beefBuildPath, args, path, .None); var execInst = gApp.DoRun(beefBuildPath, args, path, .None);
execInst?.mAutoDelete = false; execInst?.mAutoDelete = false;