trye if block
This commit is contained in:
parent
f5979b657e
commit
1cfed08422
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue