fix: 🐛 MacOS reduced to the tray to evoke failure

This commit is contained in:
viarotel 2023-11-03 15:21:54 +08:00
parent 4d4f3b346a
commit 6153bc4c52

View File

@ -105,14 +105,12 @@ app.on('activate', () => {
createWindow()
}
if (app.isHidden()) {
app.show()
app.focus()
}
if (!app.dock.isVisible()) {
app.dock.show()
}
app.show()
app.focus()
})
app.whenReady().then(() => {