summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/main.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/main.js b/app/main.js
index 6370292d72..7ca5bcf2ac 100644
--- a/app/main.js
+++ b/app/main.js
@@ -95,10 +95,12 @@ const appDelegate = {
ipcMain.on('hide-window', () => window.hide());
window.loadURL('file://' + path.join(__dirname, 'index.html'));
- window.on('close', () => {
- log.debug('The browser window is closing, shutting down the tunnel...');
- window.webContents.send('shutdown');
- });
+ if (process.platform !== 'linux') {
+ window.on('close', () => {
+ log.debug('The browser window is closing, shutting down the tunnel...');
+ window.webContents.send('shutdown');
+ });
+ }
ipcMain.on('collect-logs', (event, id, toRedact) => {
log.info('Collecting logs in', appDelegate._logFileLocation);