cmd in quotes

This commit is contained in:
Kyle Spearrin 2019-03-14 23:03:00 -04:00
parent deb68d2003
commit be38770c3a
1 changed files with 6 additions and 6 deletions

View File

@ -35,13 +35,13 @@ before_build:
- cmd: npm --version
build_script:
- cmd: |
if %SET_VERSION_INFO% == "true" (
echo "Updating pkg resources with version info"
- cmd: "
if %SET_VERSION_INFO% == \"true\" (
echo \"Updating pkg resources with version info\"
call ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1,
call ResourceHacker -open .\version-info.rc -save .\version-info.res -action compile
call ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action addoverwrite -resource .\version-info.res
)
call ResourceHacker -open version-info.rc -save version-info.res -action compile
call ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action addoverwrite -resource version-info.res
)"
- cmd: npm install
- cmd: npm run dist
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe