diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | pnpm-lock.yaml | 17 | ||||
-rw-r--r-- | src/electron/ipc-api/dnd.ts | 2 |
3 files changed, 7 insertions, 14 deletions
diff --git a/package.json b/package.json index 5dd9bc705..7473fa361 100644 --- a/package.json +++ b/package.json | |||
@@ -230,7 +230,7 @@ | |||
230 | "usocket": "_EXCLUDED_" | 230 | "usocket": "_EXCLUDED_" |
231 | }, | 231 | }, |
232 | "optionalDependencies": { | 232 | "optionalDependencies": { |
233 | "macos-notification-state": "github:ferdium/macos-notification-state#e0465373b0aed12ea4ce30522e82aaa8706cdf40", | 233 | "macos-notification-state": "github:ferdium/macos-notification-state#130bb2602795b65ae2dea74d823027b185eaf0ae", |
234 | "node-mac-permissions": "2.3.0" | 234 | "node-mac-permissions": "2.3.0" |
235 | }, | 235 | }, |
236 | "browserslist": [ | 236 | "browserslist": [ |
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebcf767ed..ed9552d93 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml | |||
@@ -263,8 +263,8 @@ dependencies: | |||
263 | 263 | ||
264 | optionalDependencies: | 264 | optionalDependencies: |
265 | macos-notification-state: | 265 | macos-notification-state: |
266 | specifier: github:ferdium/macos-notification-state#e0465373b0aed12ea4ce30522e82aaa8706cdf40 | 266 | specifier: github:ferdium/macos-notification-state#130bb2602795b65ae2dea74d823027b185eaf0ae |
267 | version: github.com/ferdium/macos-notification-state/e0465373b0aed12ea4ce30522e82aaa8706cdf40 | 267 | version: github.com/ferdium/macos-notification-state/130bb2602795b65ae2dea74d823027b185eaf0ae |
268 | node-mac-permissions: | 268 | node-mac-permissions: |
269 | specifier: 2.3.0 | 269 | specifier: 2.3.0 |
270 | version: 2.3.0 | 270 | version: 2.3.0 |
@@ -9989,12 +9989,6 @@ packages: | |||
9989 | dev: true | 9989 | dev: true |
9990 | optional: true | 9990 | optional: true |
9991 | 9991 | ||
9992 | /node-addon-api@3.0.0: | ||
9993 | resolution: {integrity: sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg==} | ||
9994 | requiresBuild: true | ||
9995 | dev: false | ||
9996 | optional: true | ||
9997 | |||
9998 | /node-addon-api@3.2.1: | 9992 | /node-addon-api@3.2.1: |
9999 | resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} | 9993 | resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} |
10000 | requiresBuild: true | 9994 | requiresBuild: true |
@@ -13728,13 +13722,12 @@ packages: | |||
13728 | stack-trace: 0.0.10 | 13722 | stack-trace: 0.0.10 |
13729 | dev: false | 13723 | dev: false |
13730 | 13724 | ||
13731 | github.com/ferdium/macos-notification-state/e0465373b0aed12ea4ce30522e82aaa8706cdf40: | 13725 | github.com/ferdium/macos-notification-state/130bb2602795b65ae2dea74d823027b185eaf0ae: |
13732 | resolution: {tarball: https://codeload.github.com/ferdium/macos-notification-state/tar.gz/e0465373b0aed12ea4ce30522e82aaa8706cdf40} | 13726 | resolution: {tarball: https://codeload.github.com/ferdium/macos-notification-state/tar.gz/130bb2602795b65ae2dea74d823027b185eaf0ae} |
13733 | name: macos-notification-state | 13727 | name: macos-notification-state |
13734 | version: 3.0.0 | 13728 | version: 2.0.2 |
13735 | requiresBuild: true | 13729 | requiresBuild: true |
13736 | dependencies: | 13730 | dependencies: |
13737 | bindings: 1.5.0 | 13731 | bindings: 1.5.0 |
13738 | node-addon-api: 3.0.0 | ||
13739 | dev: false | 13732 | dev: false |
13740 | optional: true | 13733 | optional: true |
diff --git a/src/electron/ipc-api/dnd.ts b/src/electron/ipc-api/dnd.ts index 30ace7c84..6e6e0920f 100644 --- a/src/electron/ipc-api/dnd.ts +++ b/src/electron/ipc-api/dnd.ts | |||
@@ -17,7 +17,7 @@ export default async () => { | |||
17 | } | 17 | } |
18 | 18 | ||
19 | try { | 19 | try { |
20 | const isDND = await getDoNotDisturb(); | 20 | const isDND = getDoNotDisturb(); |
21 | debug('Fetching DND state, set to', isDND); | 21 | debug('Fetching DND state, set to', isDND); |
22 | return isDND; | 22 | return isDND; |
23 | } catch (error) { | 23 | } catch (error) { |