Skip to content

Commit

Permalink
adds hardened runtime and notarization options (Jigsaw-Code#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Feb 13, 2024
1 parent ceca3d6 commit 06646f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
36 changes: 24 additions & 12 deletions src/server_manager/electron_app/electron_builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,37 @@
"linux": {
"icon": "icons/png",
"category": "Network",
"target": [{
"target": "AppImage",
"arch": ["x64"]
}]
"target": [
{
"target": "AppImage",
"arch": ["x64"]
}
]
},
"win": {
"icon": "icons/win/icon.ico",
"sign": "src/server_manager/electron_app/windows/electron_builder_signing_plugin.cjs",
"signingHashAlgorithms": ["sha256"],
"target": [{
"target": "nsis",
"arch": "ia32"
}]
"target": [
{
"target": "nsis",
"arch": "ia32"
}
]
},
"mac": {
"hardenedRuntime": true,
"entitlements": "src/server_manager/electron_app/release/macos.entitlements",
"entitlementsInherit": "src/server_manager/electron_app/release/macos.entitlements",
"icon": "icons/mac/icon.icns",
"target": [{
"target": "dmg",
"arch": "universal"
}]
"target": [
{
"target": "dmg",
"arch": "universal"
}
],
"notarize": {
"teamId": "QT8Z3Q9V3A"
}
}
}
2 changes: 2 additions & 0 deletions src/server_manager/electron_app/release/macos.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
Expand Down

0 comments on commit 06646f7

Please sign in to comment.