File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
we have to do this instead.
11
11
*/
12
12
13
+ const path = require ( 'path' ) ;
13
14
const {
14
15
ELECTRON_FORGE_ELECTRON_WINSTALLER_CONFIG_CERTIFICATE_PASSWORD
15
16
} = process . env ;
@@ -54,8 +55,11 @@ module.exports = {
54
55
"iconUrl" : "https://httptoolkit.tech/favicon.ico" ,
55
56
"setupIcon" : "./src/icon.ico" ,
56
57
"loadingGif" : "./src/installing.gif" ,
57
- "certificateFile" : "./certificates/encrypted-win-cert.pfx" ,
58
- "certificatePassword" : ELECTRON_FORGE_ELECTRON_WINSTALLER_CONFIG_CERTIFICATE_PASSWORD
58
+ "signWithParams" : `/a /f "${
59
+ path . resolve ( './certificates/encrypted-win-cert.pfx' )
60
+ } " /p "${
61
+ ELECTRON_FORGE_ELECTRON_WINSTALLER_CONFIG_CERTIFICATE_PASSWORD
62
+ } " /tr http://timestamp.digicert.com/`
59
63
} ,
60
64
"electronInstallerDMG" : {
61
65
"name" : "HTTP Toolkit" ,
You can’t perform that action at this time.
0 commit comments