aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Alphrag <34252790+Alphrag@users.noreply.github.com>2023-10-03 03:06:55 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-03 03:06:55 +0100
commita1c1fd4ab054cfc95233fa6926678f6bda241833 (patch)
tree8294e095e8e304e5726d3775f5f8f4a1f0b3e18f
parent6.5.1-nightly.1 [skip ci] (diff)
downloadferdium-app-a1c1fd4ab054cfc95233fa6926678f6bda241833.tar.gz
ferdium-app-a1c1fd4ab054cfc95233fa6926678f6bda241833.tar.zst
ferdium-app-a1c1fd4ab054cfc95233fa6926678f6bda241833.zip
Revert "Update macos-notification-state for patched v3.0.0 (#1361)" (#1388)
-rw-r--r--package.json2
-rw-r--r--pnpm-lock.yaml17
-rw-r--r--src/electron/ipc-api/dnd.ts2
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
264optionalDependencies: 264optionalDependencies:
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) {