aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 2586ab401..d251af958 100644
--- a/src/index.js
+++ b/src/index.js
@@ -10,6 +10,7 @@ import fs from 'fs-extra';
10import path from 'path'; 10import path from 'path';
11import windowStateKeeper from 'electron-window-state'; 11import windowStateKeeper from 'electron-window-state';
12import { enforceMacOSAppLocation } from 'electron-util'; 12import { enforceMacOSAppLocation } from 'electron-util';
13import ms from 'ms';
13 14
14// TODO: This seems to be duplicated between here and 'config.js' 15// TODO: This seems to be duplicated between here and 'config.js'
15// Set app directory before loading user modules 16// Set app directory before loading user modules
@@ -328,7 +329,7 @@ const createWindow = () => {
328 }); 329 });
329 330
330 if (isMac) { 331 if (isMac) {
331 askFormacOSPermissions(); 332 setTimeout(() => askFormacOSPermissions(mainWindow), ms('30s'));
332 } 333 }
333 334
334 mainWindow.on('show', () => { 335 mainWindow.on('show', () => {