1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

test path

This commit is contained in:
Kyle Spearrin 2019-03-14 17:32:29 -04:00
parent 6b5d148e4b
commit bbafa29776

View File

@ -25,9 +25,13 @@ before_build:
- cmd: npm --version
build_script:
- cmd: ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action delete -mask ICONGROUP,1, & exit 0
- cmd: ResourceHacker -open .\version-info.rc -save .\version-info.res -action compile
- cmd: ResourceHacker -open %WIN_PKG_PATH% -save %WIN_PKG_PATH% -action addoverwrite -resource .\version-info.res
- ps: |
if(Test-Path -Path $env:WIN_PKG_PATH) {
echo "Updating pkg resources"
ResourceHacker -open $env:WIN_PKG_PATH -save $env:WIN_PKG_PATH -action delete -mask ICONGROUP,1,
ResourceHacker -open .\version-info.rc -save .\version-info.res -action compile
ResourceHacker -open $env:WIN_PKG_PATH -save $env: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
@ -42,7 +46,7 @@ artifacts:
- path: dist/chocolatey/bitwarden-cli.%PACKAGE_VERSION%.nupkg
cache:
- 'C:\Users\appveyor\.pkg-cache\'
- 'C:\Users\appveyor\.pkg-cache\ -> package.json'
deploy:
provider: GitHub