diff --git a/src/main/index.js b/src/main/index.js index 211369e..775b4c0 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -169,7 +169,10 @@ app.on('ready', () => { mainWindow = createMainWindow() }); -app.dock.setIcon(nativeImage.createFromDataURL(require(`./assets/icons/1024x1024.png`))); +// Set dock icon on macOS +if (process.platform == 'darwin') { + app.dock.setIcon(nativeImage.createFromDataURL(require(`./assets/icons/1024x1024.png`))); +} const template = [ // { role: 'appMenu' }