bugfix: 修复 macOS 加载 dock 图标失败的问题

pull/456/head
王良 2025-02-11 09:49:02 +08:00
parent dc66fe405d
commit da0695e1f0
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ function registerShowHideShortcut (showHideShortcut) {
function initApp () {
if (isMac) {
app.whenReady().then(() => {
app.dock.setIcon(path.join(__dirname, '../build/mac/512x512.png'))
app.dock.setIcon(path.join(__dirname, '../extra/icons/512x512.png'))
})
}