aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-08-19 12:40:41 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-08-19 12:40:41 +0200
commit7344f362eb6fdcf26a1b45c98bd35ddd9e56521e (patch)
treef4846617683d525f8be3558157dd935bef741521 /src/index.js
parentAdd trial / subscription handling (diff)
downloadferdium-app-7344f362eb6fdcf26a1b45c98bd35ddd9e56521e.tar.gz
ferdium-app-7344f362eb6fdcf26a1b45c98bd35ddd9e56521e.tar.zst
ferdium-app-7344f362eb6fdcf26a1b45c98bd35ddd9e56521e.zip
remove console logs
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js29
1 files changed, 0 insertions, 29 deletions
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) {
105 } 105 }
106 }); 106 });
107} 107}
108// const isSecondInstance = app.makeSingleInstance((argv) => {
109// if (mainWindow) {
110// if (mainWindow.isMinimized()) mainWindow.restore();
111// mainWindow.focus();
112
113// if (process.platform === 'win32') {
114// // Keep only command line / deep linked arguments
115// const url = argv.slice(1);
116
117// if (url) {
118// handleDeepLink(mainWindow, url.toString());
119// }
120// }
121// }
122
123// if (argv.includes('--reset-window')) {
124// // Needs to be delayed to not interfere with mainWindow.restore();
125// setTimeout(() => {
126// debug('Resetting windows via Task');
127// mainWindow.setPosition(DEFAULT_WINDOW_OPTIONS.x + 100, DEFAULT_WINDOW_OPTIONS.y + 100);
128// mainWindow.setSize(DEFAULT_WINDOW_OPTIONS.width, DEFAULT_WINDOW_OPTIONS.height);
129// }, 1);
130// }
131// });
132
133// if (isSecondInstance) {
134// console.log('An instance of Franz is already running. Exiting...');
135// app.exit();
136// }
137 108
138// Fix Unity indicator issue 109// Fix Unity indicator issue
139// https://github.com/electron/electron/issues/9046 110// https://github.com/electron/electron/issues/9046