修复图标路径错误
This commit is contained in:
parent
4d7fbcc6cf
commit
cfd8242d1e
@ -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([
|
||||
{
|
||||
label: '退出',
|
||||
|
||||
BIN
src/static/512x512.png
Normal file
BIN
src/static/512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user