Skip to content

Commit

Permalink
Fix macos notorization (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tha14 authored Nov 10, 2022
1 parent 1c5f09b commit 4715a53
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
16 changes: 16 additions & 0 deletions packages/electron/entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
8 changes: 7 additions & 1 deletion packages/electron/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ module.exports = {
packagerConfig: {
name: 'Restfox',
icon: 'ui/favicon',
osxSign: {},
osxSign: {
entitlements: 'entitlements.plist',
'entitlements-inherit': 'entitlements.plist',
'gatekeeper-assess': false,
hardenedRuntime: true,
identity: 'Developer ID Application: Athanasios Plastiras (Y46L589C5C)'
},
osxNotarize: {
tool: 'notarytool',
appleId: process.env.APPLE_ID,
Expand Down

0 comments on commit 4715a53

Please sign in to comment.