This commit is contained in:
srgooglo 2023-10-30 21:25:38 +01:00
parent 622276e31c
commit c8aa3d7cba

View File

@ -102,7 +102,9 @@ class ElectronApp {
this.createWindow()
app.on("activate", function () {
if (BrowserWindow.getAllWindows().length === 0) createWindow()
if (BrowserWindow.getAllWindows().length === 0) {
this.createWindow()
}
})
app.on("window-all-closed", () => {