diff options
author | 2021-07-06 11:25:48 +0530 | |
---|---|---|
committer | 2021-07-06 11:25:48 +0530 | |
commit | d6f211eba6355a494bf4e8b861b20d671ff456b7 (patch) | |
tree | 66941687d5c233f35c79d8fb94877e5bafe3fc17 /src/index.js | |
parent | Upgraded electron to '13.1.6' (diff) | |
download | ferdium-app-d6f211eba6355a494bf4e8b861b20d671ff456b7.tar.gz ferdium-app-d6f211eba6355a494bf4e8b861b20d671ff456b7.tar.zst ferdium-app-d6f211eba6355a494bf4e8b861b20d671ff456b7.zip |
Fixed issue with permissions not being obtained correctly on macos.
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = () => { | |||
315 | 315 | ||
316 | if (isMac) { | 316 | if (isMac) { |
317 | // eslint-disable-next-line global-require | 317 | // eslint-disable-next-line global-require |
318 | const askFormacOSPermissions = require('./electron/macOSPermissions'); | 318 | const { default: askFormacOSPermissions } = require('./electron/macOSPermissions'); |
319 | setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s')); | 319 | setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s')); |
320 | } | 320 | } |
321 | 321 | ||