mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-17 15:37:57 +01:00
bracket WIN_PKG_PATH
This commit is contained in:
parent
59e2d561dc
commit
56f9f320ff
@ -30,15 +30,16 @@ before_build:
|
||||
|
||||
build_script:
|
||||
- ps: |
|
||||
echo ${env:WIN_PKG_PATH}
|
||||
if(Test-Path -Path $env:WIN_PKG_PATH) {
|
||||
echo "Updating pkg resources"
|
||||
$rh = "C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe"
|
||||
Start-Process -FilePath $rh -ArgumentList `
|
||||
"-open $env:WIN_PKG_PATH -save $env:WIN_PKG_PATH -action delete -mask ICONGROUP,1,"
|
||||
"-open ${env:WIN_PKG_PATH} -save ${env:WIN_PKG_PATH} -action delete -mask ICONGROUP,1,"
|
||||
Start-Process -FilePath $rh -ArgumentList `
|
||||
"-open version-info.rc -save version-info.res -action compile"
|
||||
Start-Process -FilePath $rh -ArgumentList `
|
||||
"-open $env:WIN_PKG_PATH -save $env:WIN_PKG_PATH -action addoverwrite -resource version-info.res,"
|
||||
"-open ${env:WIN_PKG_PATH} -save ${env:WIN_PKG_PATH} -action addoverwrite -resource version-info.res,"
|
||||
}
|
||||
- cmd: npm install
|
||||
- cmd: npm run dist
|
||||
|
Loading…
Reference in New Issue
Block a user