Commit f3331a9 1 parent 777d8d5 commit f3331a9 Copy full SHA for f3331a9
File tree 2 files changed +26
-5
lines changed
2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 52
52
if : matrix.os == 'macos-latest'
53
53
run : |
54
54
echo ${{ secrets.GODOT_MACOS_NOTARIZATION_API_KEY }} | base64 --decode > notarization_api_key.p8
55
+
56
+ # Create build directory and add entitlements file
57
+ mkdir -p build
58
+ cat > build/entitlements.mac.plist << 'EOL'
59
+ <?xml version="1.0" encoding="UTF-8"?>
60
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
61
+ <plist version="1.0">
62
+ <dict>
63
+ <key>com.apple.security.cs.allow-jit</key>
64
+ <true/>
65
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
66
+ <true/>
67
+ <key>com.apple.security.cs.allow-dyld-environment-variables</key>
68
+ <true/>
69
+ <key>com.apple.security.cs.disable-library-validation</key>
70
+ <true/>
71
+ <key>com.apple.security.inherit</key>
72
+ <true/>
73
+ <key>com.apple.security.automation.apple-events</key>
74
+ <true/>
75
+ </dict>
76
+ </plist>
77
+ EOL
55
78
56
79
- name : Build Electron app
57
80
if : matrix.os != 'ubuntu-latest-large'
Original file line number Diff line number Diff line change 145
145
"icon" : " public/icon.icns" ,
146
146
"hardenedRuntime" : true ,
147
147
"gatekeeperAssess" : false ,
148
- "entitlements" : " build/entitlements.mac.plist" ,
149
- "entitlementsInherit" : " build/entitlements.mac.plist" ,
150
- "notarize" : {
151
- "teamId" : " APPLE_TEAM_ID"
152
- }
148
+ "entitlements" : " ./build/entitlements.mac.plist" ,
149
+ "entitlementsInherit" : " ./build/entitlements.mac.plist" ,
150
+ "notarize" : true
153
151
}
154
152
},
155
153
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments