aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-helpers/entitlements.mas.inherit.plist2
-rw-r--r--build-helpers/entitlements.mas.plist2
-rw-r--r--src/electron/ipc-api/dnd.ts2
3 files changed, 6 insertions, 0 deletions
diff --git a/build-helpers/entitlements.mas.inherit.plist b/build-helpers/entitlements.mas.inherit.plist
index 78c1f8d83..6e7ea7cb9 100644
--- a/build-helpers/entitlements.mas.inherit.plist
+++ b/build-helpers/entitlements.mas.inherit.plist
@@ -18,5 +18,7 @@
18 <true/> 18 <true/>
19 <key>com.apple.security.automation.apple-events</key> 19 <key>com.apple.security.automation.apple-events</key>
20 <true/> 20 <true/>
21 <key>com.apple.developer.usernotifications.communication</key>
22 <true/>
21 </dict> 23 </dict>
22</plist> 24</plist>
diff --git a/build-helpers/entitlements.mas.plist b/build-helpers/entitlements.mas.plist
index 78c1f8d83..6e7ea7cb9 100644
--- a/build-helpers/entitlements.mas.plist
+++ b/build-helpers/entitlements.mas.plist
@@ -18,5 +18,7 @@
18 <true/> 18 <true/>
19 <key>com.apple.security.automation.apple-events</key> 19 <key>com.apple.security.automation.apple-events</key>
20 <true/> 20 <true/>
21 <key>com.apple.developer.usernotifications.communication</key>
22 <true/>
21 </dict> 23 </dict>
22</plist> 24</plist>
diff --git a/src/electron/ipc-api/dnd.ts b/src/electron/ipc-api/dnd.ts
index 280521a9f..577cd0448 100644
--- a/src/electron/ipc-api/dnd.ts
+++ b/src/electron/ipc-api/dnd.ts
@@ -8,6 +8,8 @@ export default async () => {
8 if (!isMac) { 8 if (!isMac) {
9 return false; 9 return false;
10 } 10 }
11 // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
12 // @ts-ignore
11 const { getDoNotDisturb } = await import('macos-notification-state'); 13 const { getDoNotDisturb } = await import('macos-notification-state');
12 14
13 if (!getDoNotDisturb) { 15 if (!getDoNotDisturb) {