mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
fix this
This commit is contained in:
parent
622276e31c
commit
c8aa3d7cba
@ -102,7 +102,9 @@ class ElectronApp {
|
|||||||
this.createWindow()
|
this.createWindow()
|
||||||
|
|
||||||
app.on("activate", function () {
|
app.on("activate", function () {
|
||||||
if (BrowserWindow.getAllWindows().length === 0) createWindow()
|
if (BrowserWindow.getAllWindows().length === 0) {
|
||||||
|
this.createWindow()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
app.on("window-all-closed", () => {
|
app.on("window-all-closed", () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user