From c9591ac243394226adbf8bcd45cac358d8e158fd Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Sun, 3 Oct 2021 12:37:03 +0530 Subject: [PATCH] Add entitlements for notarization --- build/mac/entitlements.plist | 26 ++++++++++++++++++++++++++ electron-builder.json | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 build/mac/entitlements.plist diff --git a/build/mac/entitlements.plist b/build/mac/entitlements.plist new file mode 100644 index 00000000..82c2f9a1 --- /dev/null +++ b/build/mac/entitlements.plist @@ -0,0 +1,26 @@ + + + + + com.apple.security.automation.apple-events + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-library-validation + + com.apple.security.device.audio-input + + com.apple.security.device.camera + + com.apple.security.personal-information.addressbook + + com.apple.security.personal-information.calendars + + com.apple.security.personal-information.location + + com.apple.security.personal-information.photos-library + + + diff --git a/electron-builder.json b/electron-builder.json index 37dadbed..d2f8d33b 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -70,6 +70,8 @@ }, "artifactName": "${productName}-${version}-${os}-${arch}.${ext}", "category": "public.app-category.developer-tools", + "entitlements": "./build/mac/entitlements.plist", + "entitlementsInherit": "./build/mac/entitlements.plist", "extendInfo": { "CFBundleDocumentTypes": [ {