mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Added support for shell commands in postbuild/prebuild
This commit is contained in:
parent
480f909cec
commit
ddc943876d
2 changed files with 22 additions and 2 deletions
|
@ -1301,7 +1301,9 @@ namespace IDE
|
|||
{
|
||||
var exeArgs = scope String();
|
||||
exeArgs.Append(cmd, spacePos + 1);
|
||||
gApp.DoRun(exePath, exeArgs, gApp.mInstallDir, .None);
|
||||
|
||||
bool wantsShellCommand = !exePath.EndsWith(".exe", .OrdinalIgnoreCase);
|
||||
gApp.DoRun(exePath, exeArgs, gApp.mInstallDir, .None, null, null, wantsShellCommand ? .ShellCommand : .None);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue