mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
ver info testing
This commit is contained in:
13
appveyor.yml
13
appveyor.yml
@@ -24,7 +24,9 @@ init:
|
|||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
Install-Product node 10
|
Install-Product node 10
|
||||||
$env:PATH = "C:\Program Files (x86)\Resource Hacker;${env:PATH}"
|
$env:PATH = "C:\Program Files (x86)\Resource Hacker;${env:PATH}"
|
||||||
|
echo "testing ver info"
|
||||||
if(Test-Path -Path $env:WIN_PKG) {
|
if(Test-Path -Path $env:WIN_PKG) {
|
||||||
|
echo "do ver info"
|
||||||
$env:VER_INFO = "true"
|
$env:VER_INFO = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -78,6 +80,7 @@ before_build:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
|
if defined VER_INFO echo "Execute ResourceHacker"
|
||||||
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action delete -mask ICONGROUP,1,
|
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action delete -mask ICONGROUP,1,
|
||||||
if defined VER_INFO ResourceHacker -open version-info.rc -save version-info.res -action compile
|
if defined VER_INFO ResourceHacker -open version-info.rc -save version-info.res -action compile
|
||||||
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action addoverwrite -resource version-info.res
|
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action addoverwrite -resource version-info.res
|
||||||
@@ -138,17 +141,17 @@ for:
|
|||||||
only:
|
only:
|
||||||
- image: Visual Studio 2017
|
- image: Visual Studio 2017
|
||||||
cache:
|
cache:
|
||||||
- '%LOCALAPPDATA%\electron -> appveyor.yml'
|
- '%LOCALAPPDATA%\electron'
|
||||||
- '%LOCALAPPDATA%\electron-builder -> appveyor.yml'
|
- '%LOCALAPPDATA%\electron-builder'
|
||||||
- 'C:\Users\appveyor\.pkg-cache\ -> package.json'
|
- 'C:\Users\appveyor\.pkg-cache\'
|
||||||
|
|
||||||
-
|
-
|
||||||
matrix:
|
matrix:
|
||||||
only:
|
only:
|
||||||
- image: Ubuntu1804
|
- image: Ubuntu1804
|
||||||
cache:
|
cache:
|
||||||
- '/home/appveyor/.cache/electron -> appveyor.yml'
|
- '/home/appveyor/.cache/electron'
|
||||||
- '/home/appveyor/.cache/electron-builder -> appveyor.yml'
|
- '/home/appveyor/.cache/electron-builder'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
tag: $(APPVEYOR_REPO_TAG_NAME)
|
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
|
|||||||
Reference in New Issue
Block a user