just call ResourceHacker

This commit is contained in:
Kyle Spearrin 2019-03-14 23:12:01 -04:00
parent 2ca937c9ae
commit 783b38345d
1 changed files with 3 additions and 4 deletions

View File

@ -36,10 +36,9 @@ before_build:
build_script:
- cmd: |
echo %SET_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
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