trye if block

This commit is contained in:
Kyle Spearrin 2019-03-14 23:20:02 -04:00
parent f5979b657e
commit 1cfed08422
1 changed files with 5 additions and 3 deletions

View File

@ -36,9 +36,11 @@ before_build:
build_script:
- cmd: |
if %SET_VERSION_INFO% == "true" (
ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1,
ResourceHacker -open version-info.rc -save version-info.res -action compile
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