From 6a66704da3b6f7ae909dbd5fe5c2daebc041c163 Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Sun, 8 Oct 2023 21:06:54 +0200 Subject: [PATCH] Try Fixing require of the package --- app/utils/dndManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/dndManager.js b/app/utils/dndManager.js index 72e306c69..8d91cb02f 100644 --- a/app/utils/dndManager.js +++ b/app/utils/dndManager.js @@ -34,7 +34,7 @@ class DndManager extends EventEmitter { focusAssist = require('windows-focus-assist').getFocusAssist().value } catch (e) { focusAssist = -1 } // getFocusAssist() throw an error if OS isn't windows - return require('@meetfranz/electron-notification-state').getDoNotDisturb() || (focusAssist !== -1 && focusAssist !== 0) + return require('electron-notification-state').getDoNotDisturb() || (focusAssist !== -1 && focusAssist !== 0) } else { return false }