File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,6 +198,19 @@ jobs:
198198 name : compiled-${{ matrix.os }}
199199 path : build
200200
201+ - name : Setup Code Signing (macOS)
202+ if : runner.os == 'macOS' && github.event_name != 'pull_request'
203+ run : |
204+ # Code signing
205+ echo 'CSC_LINK=${{ secrets.APPLE_CERT }}' >> $GITHUB_ENV
206+ echo 'CSC_KEY_PASSWORD=${{ secrets.APPLE_CERT_PASSWORD }}' >> $GITHUB_ENV
207+ # Notarization
208+ mkdir -p ~/private_keys/
209+ echo '${{ secrets.APPLE_API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
210+ echo 'APPLE_API_KEY=~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8' >> $GITHUB_ENV
211+ echo 'APPLE_API_KEY_ID=${{ secrets.APPLE_API_KEY_ID }}' >> $GITHUB_ENV
212+ echo 'APPLE_API_ISSUER=${{ secrets.APPLE_API_ISSUER_ID }}' >> $GITHUB_ENV
213+
201214 - name : Build
202215 run : yarn run pack
203216
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.network.client </key >
6+ <true />
7+ <key >com.apple.security.network.server </key >
8+ <true />
9+ <key >com.apple.security.files.user-selected.read-write </key >
10+ <true />
11+ <key >com.apple.security.cs.allow-jit </key >
12+ <true />
13+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
14+ <true />
15+ <key >com.apple.security.cs.disable-library-validation </key >
16+ <true />
17+ <key >com.apple.security.device.usb </key >
18+ <true />
19+ </dict >
20+ </plist >
Original file line number Diff line number Diff line change 88 "productName" : " EdgeTX Buddy" ,
99 "appId" : " org.edgetx.buddy" ,
1010 "mac" : {
11+ "hardenedRuntime" : true ,
12+ "entitlements" : " ./entitlements.mac.plist" ,
1113 "target" : [
1214 {
1315 "target" : " dmg" ,
You can’t perform that action at this time.
0 commit comments