From 7344f362eb6fdcf26a1b45c98bd35ddd9e56521e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 19 Aug 2019 12:40:41 +0200 Subject: remove console logs --- src/index.js | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 55592c328..d9d51fd5b 100644 --- a/src/index.js +++ b/src/index.js @@ -105,35 +105,6 @@ if (!gotTheLock) { } }); } -// const isSecondInstance = app.makeSingleInstance((argv) => { -// if (mainWindow) { -// if (mainWindow.isMinimized()) mainWindow.restore(); -// mainWindow.focus(); - -// if (process.platform === 'win32') { -// // Keep only command line / deep linked arguments -// const url = argv.slice(1); - -// if (url) { -// handleDeepLink(mainWindow, url.toString()); -// } -// } -// } - -// if (argv.includes('--reset-window')) { -// // Needs to be delayed to not interfere with mainWindow.restore(); -// setTimeout(() => { -// debug('Resetting windows via Task'); -// mainWindow.setPosition(DEFAULT_WINDOW_OPTIONS.x + 100, DEFAULT_WINDOW_OPTIONS.y + 100); -// mainWindow.setSize(DEFAULT_WINDOW_OPTIONS.width, DEFAULT_WINDOW_OPTIONS.height); -// }, 1); -// } -// }); - -// if (isSecondInstance) { -// console.log('An instance of Franz is already running. Exiting...'); -// app.exit(); -// } // Fix Unity indicator issue // https://github.com/electron/electron/issues/9046 -- cgit v1.2.3-54-g00ecf