Skip to content

Commit 1b90bf5

Browse files
committed
Sign windows builds (using encrypted signing cert)
1 parent 96f1d1e commit 1b90bf5

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
out
3-
httptoolkit-server/
3+
httptoolkit-server/
4+
appveyor-tools/
5+
encrypted-win-certificate.pfx

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ branches:
1515
- /^v\d\.\d\.\d/
1616

1717
install:
18+
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
19+
- cmd: appveyor-tools\secure-file -decrypt encrypted-win-certificate.pfx.enc -secret %CERTIFICATE_FILE_KEY%
1820
- ps: Install-Product node $env:nodejs_version $env:platform
1921
- set PATH=%APPDATA%\npm;%PATH%
2022
- npm install

encrypted-win-certificate.pfx.enc

3.03 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"title": "HTTP Toolkit",
4646
"exe": "httptoolkit.exe",
4747
"iconUrl": "https://httptoolkit.tech/favicon.ico",
48-
"setupIcon": "./src/icon.ico"
48+
"setupIcon": "./src/icon.ico",
49+
"certificateFile": "./encrypted-win-certificate.pfx"
4950
},
5051
"electronInstallerDMG": {
5152
"name": "HTTP Toolkit",

0 commit comments

Comments
 (0)