fix: removed macos window minimize event handler

This commit is contained in:
kangfenmao 2024-11-11 09:25:22 +08:00
parent dc1c71bf02
commit fe8c1a4928

View File

@ -171,11 +171,6 @@ export class WindowService {
mainWindow.hide()
}
})
mainWindow.on('minimize', (event) => {
event.preventDefault()
mainWindow.hide()
})
}
public showMainWindow() {