diff --git a/src/background.js b/src/background.js index 35eb857..0dda915 100644 --- a/src/background.js +++ b/src/background.js @@ -16,7 +16,7 @@ let mini // Scheme must be registered before the app is ready protocol.registerSchemesAsPrivileged([{ scheme: 'app', privileges: { secure: true, standard: true } }]) -function createWindow () { +function createWindow() { win = new BrowserWindow({ width: 1080, height: 720, @@ -44,7 +44,7 @@ function createWindow () { }) } -function createMini () { +function createMini() { mini = new BrowserWindow({ width: 550, minWidth: 260, @@ -178,6 +178,9 @@ if (!gotTheLock) { }) } +// show mac dock icon +app.dock.show() + // Exit cleanly on request from parent process in development mode. if (isDevelopment) { if (process.platform === 'win32') {