diff --git a/packages/electron/entitlements.plist b/packages/electron/entitlements.plist new file mode 100644 index 00000000..540adc3d --- /dev/null +++ b/packages/electron/entitlements.plist @@ -0,0 +1,16 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-library-validation + + com.apple.security.cs.disable-executable-page-protection + + com.apple.security.automation.apple-events + + + diff --git a/packages/electron/forge.config.js b/packages/electron/forge.config.js index a8e64cd2..df5aa804 100644 --- a/packages/electron/forge.config.js +++ b/packages/electron/forge.config.js @@ -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,