Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Fixed hide of dock icon to be on darwin platform only
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Aug 10, 2019
1 parent 1217a29 commit 2eb7bcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.js
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2eb7bcc

Please sign in to comment.