fix(macos): mac os icon size fix #10

This commit is contained in:
Alexey Kasyanchuk 2018-03-10 08:27:05 +03:00
parent 2508e6cb1a
commit 3c0930fcd6
3 changed files with 8 additions and 1 deletions

View File

@ -24,6 +24,10 @@
"from": "resources/icons/512x512.png",
"to": "icons/512x512.png"
},
{
"from": "resources/icons/19x19.png",
"to": "icons/19x19.png"
},
"CHANGELOG.md"
],
"directories": {

BIN
resources/icons/19x19.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -277,6 +277,9 @@ app.on("ready", () => {
mainWindow.openDevTools();
}
if(process.platform === 'darwin')
tray = new Tray(`${resourcesPath}/icons/19x19.png`)
else
tray = new Tray(`${resourcesPath}/icons/512x512.png`)
tray.on('click', () => {