diff --git a/build-helpers/entitlements.mas.inherit.plist b/build-helpers/entitlements.mas.inherit.plist index 78c1f8d83c..6e7ea7cb9c 100644 --- a/build-helpers/entitlements.mas.inherit.plist +++ b/build-helpers/entitlements.mas.inherit.plist @@ -18,5 +18,7 @@ com.apple.security.automation.apple-events + com.apple.developer.usernotifications.communication + diff --git a/build-helpers/entitlements.mas.plist b/build-helpers/entitlements.mas.plist index 78c1f8d83c..6e7ea7cb9c 100644 --- a/build-helpers/entitlements.mas.plist +++ b/build-helpers/entitlements.mas.plist @@ -18,5 +18,7 @@ com.apple.security.automation.apple-events + com.apple.developer.usernotifications.communication + diff --git a/src/electron/ipc-api/dnd.ts b/src/electron/ipc-api/dnd.ts index 280521a9fb..577cd04489 100644 --- a/src/electron/ipc-api/dnd.ts +++ b/src/electron/ipc-api/dnd.ts @@ -8,6 +8,8 @@ export default async () => { if (!isMac) { return false; } + // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error + // @ts-ignore const { getDoNotDisturb } = await import('macos-notification-state'); if (!getDoNotDisturb) {