fix: removed macos window minimize event handler

This commit is contained in:
kangfenmao 2024-11-11 09:25:22 +08:00
parent 902341bc1d
commit 1ff8fe0c2e

View File

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