Commit 1fb8a3d 1 parent 4d3c64c commit 1fb8a3d Copy full SHA for 1fb8a3d
File tree 3 files changed +46
-1
lines changed
3 files changed +46
-1
lines changed Original file line number Diff line number Diff line change 40
40
env :
41
41
DEBUG : electron-builder
42
42
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
+ # macOS signing environment variables
44
+ APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
45
+ APPLE_API_KEY : ${{ secrets.APPLE_API_KEY }}
46
+ APPLE_API_KEY_ID : ${{ secrets.APPLE_API_KEY_ID }}
47
+ APPLE_API_ISSUER : ${{ secrets.APPLE_API_ISSUER }}
48
+ CSC_LINK : ${{ secrets.MACOS_CERTIFICATE }}
49
+ CSC_KEY_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
43
50
run : npm run electron-build
44
51
45
52
- name : Build Electron app (Linux)
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >com.apple.security.cs.allow-jit </key >
6
+ <true />
7
+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
8
+ <true />
9
+ <key >com.apple.security.cs.allow-dyld-environment-variables </key >
10
+ <true />
11
+ <key >com.apple.security.cs.disable-library-validation </key >
12
+ <true />
13
+ <key >com.apple.security.cs.disable-executable-page-protection </key >
14
+ <true />
15
+ <key >com.apple.security.cs.debugger </key >
16
+ <true />
17
+ <key >com.apple.security.network.client </key >
18
+ <true />
19
+ <key >com.apple.security.network.server </key >
20
+ <true />
21
+ <key >com.apple.security.files.user-selected.read-write </key >
22
+ <true />
23
+ </dict >
24
+ </plist >
Original file line number Diff line number Diff line change 142
142
],
143
143
"category" : " public.app-category.developer-tools" ,
144
144
"artifactName" : " Drivechain-Launcher-${version}-${arch}.${ext}" ,
145
- "icon" : " public/icon.icns"
145
+ "icon" : " public/icon.icns" ,
146
+ "hardenedRuntime" : true ,
147
+ "gatekeeperAssess" : false ,
148
+ "entitlements" : " entitlements.mac.plist" ,
149
+ "entitlementsInherit" : " entitlements.mac.plist" ,
150
+ "notarize" : {
151
+ "teamId" : " $APPLE_TEAM_ID"
152
+ },
153
+ "extendInfo" : {
154
+ "NSAppleEventsUsageDescription" : " Please allow access to script browser applications to detect drivechain nodes." ,
155
+ "NSCameraUsageDescription" : " Application requests access to the device's camera." ,
156
+ "NSMicrophoneUsageDescription" : " Application requests access to the device's microphone." ,
157
+ "NSDocumentsFolderUsageDescription" : " Application requests access to the user's Documents folder." ,
158
+ "NSDownloadsFolderUsageDescription" : " Application requests access to the user's Downloads folder."
159
+ }
146
160
}
147
161
},
148
162
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments