use %~1 in bat files

This commit is contained in:
Martin Aeschlimann 2021-03-15 12:33:32 +01:00
parent c7a86c0797
commit e8c71c048f

View file

@ -14,7 +14,7 @@ set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"
:: Manage built-in extensions
if "%1"=="--builtin" goto builtin
if "%~1"=="--builtin" goto builtin
:: Configuration
set ELECTRON_RUN_AS_NODE=1