File tree Expand file tree Collapse file tree 4 files changed +64
-21
lines changed Expand file tree Collapse file tree 4 files changed +64
-21
lines changed Original file line number Diff line number Diff line change 7
7
matrix :
8
8
os : [
9
9
" ubuntu-18.04" ,
10
- " windows-2019"
10
+ " windows-2019" ,
11
+ " macos-10.15"
11
12
]
12
13
runs-on : ${{ matrix.os }}
13
14
steps :
Original file line number Diff line number Diff line change 26
26
"appId" : " tech.httptoolkit.desktop" ,
27
27
"extends" : null ,
28
28
"productName" : " HTTP Toolkit" ,
29
- "extraMetadata" : { "name" : " httptoolkit" },
29
+ "extraMetadata" : {
30
+ "name" : " httptoolkit"
31
+ },
30
32
"files" : [
31
33
" **/*" ,
32
34
" build/**/*" ,
48
50
"extraResources" : [
49
51
" httptoolkit-server/**/*"
50
52
],
53
+ "mac" : {
54
+ "target" : [
55
+ " dmg"
56
+ ],
57
+ "category" : " public.app-category.developer-tools" ,
58
+ "icon" : " src/icons/icon.icns" ,
59
+ "entitlements" : " src/entitlements.plist" ,
60
+ "entitlementsInherit" : " src/entitlements.plist" ,
61
+ "forceCodeSigning" : false
62
+ },
63
+ "dmg" : {
64
+ "background" : " src/dmg-background.png"
65
+ },
51
66
"win" : {
52
- "target" : [" nsis" ],
67
+ "target" : [
68
+ " nsis"
69
+ ],
53
70
"icon" : " ./src/icons/icon.ico" ,
54
71
"forceCodeSigning" : true
55
72
},
101
118
"electron" : " ^4.1.4" ,
102
119
"electron-builder" : " ^22.9.1" ,
103
120
"electron-forge" : " ^5.2.4" ,
104
- "electron-notarize" : " ^0.2.1 " ,
121
+ "electron-notarize" : " ^1.0.0 " ,
105
122
"lodash" : " ^4.17.19" ,
106
123
"node-fetch" : " ^2.6.1" ,
107
124
"targz" : " ^1.0.1" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export = async function () {
12
12
13
13
return notarize ( {
14
14
appBundleId : 'tech.httptoolkit.desktop' ,
15
- appPath : projectRoot + '/out/HTTP Toolkit-darwin-x64 /HTTP Toolkit.app' ,
15
+ appPath : projectRoot + '/dist/mac /HTTP Toolkit.app' ,
16
16
appleId : process . env . APPLE_ID ! ,
17
17
appleIdPassword : process . env . APPLE_ID_PASSWORD !
18
18
} ) . catch ( ( e ) => {
You can’t perform that action at this time.
0 commit comments