trye if block
This commit is contained in:
parent
f5979b657e
commit
1cfed08422
|
@ -36,9 +36,11 @@ before_build:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1,
|
if %SET_VERSION_INFO% == "true" (
|
||||||
ResourceHacker -open version-info.rc -save version-info.res -action compile
|
ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1,
|
||||||
ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action addoverwrite -resource version-info.res
|
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 install
|
||||||
- cmd: npm run dist
|
- cmd: npm run dist
|
||||||
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
|
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
|
||||||
|
|
Loading…
Reference in New Issue