Fix missing 'set' command that was causing a useless error.
This commit is contained in:
parent
fd8067bbec
commit
4d6bccb661
|
@ -16,7 +16,7 @@ set CODE=".build\electron\%NAMESHORT%"
|
|||
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"electronVersion\":.*" package.json') do set DESIREDVERSION=%%~a
|
||||
set DESIREDVERSION=%DESIREDVERSION: "=%
|
||||
set DESIREDVERSION=v%DESIREDVERSION:"=%
|
||||
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (INSTALLEDVERSION="")
|
||||
if exist .\.build\electron\version (set /p INSTALLEDVERSION=<.\.build\electron\version) else (set INSTALLEDVERSION="")
|
||||
|
||||
:: Get electron
|
||||
if not exist %CODE% node .\node_modules\gulp\bin\gulp.js electron
|
||||
|
|
Loading…
Reference in a new issue