Skip to content

Commit da0695e

Browse files
bugfix: 修复 macOS 加载 dock 图标失败的问题
1 parent dc66fe4 commit da0695e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gui/src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ function registerShowHideShortcut (showHideShortcut) {
400400
function initApp () {
401401
if (isMac) {
402402
app.whenReady().then(() => {
403-
app.dock.setIcon(path.join(__dirname, '../build/mac/512x512.png'))
403+
app.dock.setIcon(path.join(__dirname, '../extra/icons/512x512.png'))
404404
})
405405
}
406406

0 commit comments

Comments
 (0)