diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-03 17:15:41 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-03 17:15:41 +0000 |
| commit | b530e6a7122143e293e15f5e9c988e24d2675412 (patch) | |
| tree | 3ee2af66fca54df997696bc514c6f02dc8ef7e23 | |
| parent | 7fb8ac0a0ef993d6057701dd281e8da2f94a700b (diff) | |
| download | mullvadvpn-b530e6a7122143e293e15f5e9c988e24d2675412.tar.xz mullvadvpn-b530e6a7122143e293e15f5e9c988e24d2675412.zip | |
Hide dock only on mac
| -rw-r--r-- | app/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/main.js b/app/main.js index 3708442e05..0a76d93947 100644 --- a/app/main.js +++ b/app/main.js @@ -38,7 +38,9 @@ ipcMain.on('changeTrayIcon', (event, name) => { }); // hide dock icon -app.dock.hide(); +if(process.platform === 'darwin') { + app.dock.hide(); +} const installExtensions = async () => { const installer = require('electron-devtools-installer'); |
