Allow running Keil natively
This commit is contained in:
parent
989a51b2e0
commit
4096854d8b
|
@ -218,7 +218,14 @@ then
|
|||
|
||||
logFile="$(mktemp)";
|
||||
|
||||
WINEDEBUG=-all,fixme+event xvfb-run bash -c "dwm & wine \"C:\Keil_v5\UV4\UV4.exe\" -j0 -b \"$projectFile\" -t \"$targetName\" -l \"$logFile\"";
|
||||
if is_truthy "${NATIVE_WINDOWS}"
|
||||
then
|
||||
echo "Running on windows natively!";
|
||||
PROJECT_FILE="$projectFile" LOG_FILE="$logFile" WSLENV="PROJECT_FILE/p:LOG_FILE/p" cmd.exe /c "C:\Keil_v5\UV4\UV4.exe" -j0 -b "%PROJECT_FILE%" -t "$targetName" -l "%LOG_FILE%";
|
||||
else
|
||||
WINEDEBUG=-all,fixme+event xvfb-run bash -c "dwm & wine \"C:\Keil_v5\UV4\UV4.exe\" -j0 -b \"$projectFile\" -t \"$targetName\" -l \"$logFile\"";
|
||||
fi;
|
||||
|
||||
mv -f "$tempFile" "$projectFile";
|
||||
|
||||
errorPatterns=()
|
||||
|
|
Loading…
Reference in a new issue