fix(macos): mac os icon size fix #10
This commit is contained in:
@ -277,7 +277,10 @@ app.on("ready", () => {
|
||||
mainWindow.openDevTools();
|
||||
}
|
||||
|
||||
tray = new Tray(`${resourcesPath}/icons/512x512.png`)
|
||||
if(process.platform === 'darwin')
|
||||
tray = new Tray(`${resourcesPath}/icons/19x19.png`)
|
||||
else
|
||||
tray = new Tray(`${resourcesPath}/icons/512x512.png`)
|
||||
|
||||
tray.on('click', () => {
|
||||
mainWindow.isVisible() ? mainWindow.hide() : mainWindow.show()
|
||||
|
Reference in New Issue
Block a user