修复图标路径错误

This commit is contained in:
Lasy 2020-04-03 10:33:58 +08:00
parent 4d7fbcc6cf
commit cfd8242d1e
2 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ function createWindow() {
}) })
// 托盘 // 托盘
tray = new Tray('./resources/icons/256x256.ico') tray = new Tray(isDev ? 'src/static/512x512.png' : path.join(global.__static, '512x512.png'))
const contextMenu = Menu.buildFromTemplate([ const contextMenu = Menu.buildFromTemplate([
{ {
label: '退出', label: '退出',

BIN
src/static/512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB