Skip to content
Permalink
Browse files

Fixed hide of dock icon to be on darwin platform only

  • Loading branch information...
eko committed Aug 10, 2019
1 parent 1217a29 commit 2eb7bccc4921f1f39ef2ba7524e24752a831d627
Showing with 3 additions and 1 deletion.
  1. +3 −1 main.js
@@ -7,7 +7,9 @@ const sudo = require('sudo-prompt')

const { createTray, createWindow, updateTrayIcon, updateDarkMode } = require('./src/electron/window')

app.dock.hide()
if ('darwin' == process.platform) {
app.dock.hide()
}

app.on('ready', () => {
global.sharedObject = {

0 comments on commit 2eb7bcc

Please sign in to comment.
You can’t perform that action at this time.