From fdc1ecef987985c71f52b07ac7f47650850ab4ba Mon Sep 17 00:00:00 2001
From: Vince Grassia <593223+vgrassia@users.noreply.github.com>
Date: Wed, 22 Jun 2022 15:10:21 -0400
Subject: [PATCH] Update Plist files for MAS (#2951)
---
apps/desktop/electron-builder.json | 1 +
apps/desktop/resources/entitlements.mas.loginhelper.plist | 8 ++++++++
apps/desktop/resources/entitlements.mas.plist | 4 ++++
3 files changed, 13 insertions(+)
create mode 100644 apps/desktop/resources/entitlements.mas.loginhelper.plist
diff --git a/apps/desktop/electron-builder.json b/apps/desktop/electron-builder.json
index 56fd3b93e0..22c579d960 100644
--- a/apps/desktop/electron-builder.json
+++ b/apps/desktop/electron-builder.json
@@ -112,6 +112,7 @@
"mas": {
"entitlements": "resources/entitlements.mas.plist",
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
+ "entitlementsLoginHelper": "resources/entitlements.mas.loginhelper.plist",
"hardenedRuntime": false,
"extendInfo": {
"LSMinimumSystemVersion": "10.14.0"
diff --git a/apps/desktop/resources/entitlements.mas.loginhelper.plist b/apps/desktop/resources/entitlements.mas.loginhelper.plist
new file mode 100644
index 0000000000..ed4bbdf29c
--- /dev/null
+++ b/apps/desktop/resources/entitlements.mas.loginhelper.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+
diff --git a/apps/desktop/resources/entitlements.mas.plist b/apps/desktop/resources/entitlements.mas.plist
index d9f74a1b0a..5bfeba83a6 100644
--- a/apps/desktop/resources/entitlements.mas.plist
+++ b/apps/desktop/resources/entitlements.mas.plist
@@ -2,6 +2,10 @@
+ com.apple.application-identifier
+ LTZ2PFU5D6.com.bitwarden.desktop
+ com.apple.developer.team-identifier
+ LTZ2PFU5D6
com.apple.security.app-sandbox
com.apple.security.network.client