From d6f211eba6355a494bf4e8b861b20d671ff456b7 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 6 Jul 2021 11:25:48 +0530 Subject: Fixed issue with permissions not being obtained correctly on macos. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.js b/src/index.js index 8a4283f49..91004aac7 100644 --- a/src/index.js +++ b/src/index.js @@ -315,7 +315,7 @@ const createWindow = () => { if (isMac) { // eslint-disable-next-line global-require - const askFormacOSPermissions = require('./electron/macOSPermissions'); + const { default: askFormacOSPermissions } = require('./electron/macOSPermissions'); setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s')); } -- cgit v1.2.3-70-g09d2