bugfix: 修复 macOS 加载 dock 图标失败的问题
parent
dc66fe405d
commit
da0695e1f0
|
@ -400,7 +400,7 @@ function registerShowHideShortcut (showHideShortcut) {
|
||||||
function initApp () {
|
function initApp () {
|
||||||
if (isMac) {
|
if (isMac) {
|
||||||
app.whenReady().then(() => {
|
app.whenReady().then(() => {
|
||||||
app.dock.setIcon(path.join(__dirname, '../build/mac/512x512.png'))
|
app.dock.setIcon(path.join(__dirname, '../extra/icons/512x512.png'))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue