refs #821 Add tray icon

This commit is contained in:
AkiraFukushima 2019-08-18 13:47:09 +09:00
parent ea618e86d4
commit f27e70e615
2 changed files with 1 additions and 1 deletions

BIN
build/icons/tray_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -236,7 +236,7 @@ async function createWindow() {
// Show tray icon only linux and windows.
if (process.platform !== 'darwin') {
// Show tray icon
tray = new Tray(path.join(__dirname, '../../build/icons/256x256.png'))
tray = new Tray(path.join(__dirname, '../../build/icons/tray_icon.png'))
const trayMenu = TrayMenu(accountsChange, i18n)
tray.setContextMenu(trayMenu)