diff --git a/cli/templates/electron-shared/ElectronApp.hx b/cli/templates/electron-shared/ElectronApp.hx index ac6840227..fa349f1aa 100644 --- a/cli/templates/electron-shared/ElectronApp.hx +++ b/cli/templates/electron-shared/ElectronApp.hx @@ -15,7 +15,7 @@ class ElectronApp { } }); window.setMenu(null); - window.on(closed, function() { + window.on("closed", function() { window = null; }); window.loadFile('index.html'); diff --git a/run.n b/run.n index a3c659cff..3ec7ac918 100644 Binary files a/run.n and b/run.n differ