From e07799fef85d53601f6fd58f49e615ba59989d99 Mon Sep 17 00:00:00 2001 From: Mack_Ignacio Date: Fri, 27 Jul 2018 23:16:42 +0800 Subject: [PATCH] Update main.ts --- main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.ts b/main.ts index 5a58e19..55f9fbf 100644 --- a/main.ts +++ b/main.ts @@ -7,10 +7,10 @@ class ElectronMain { args: any; serve: boolean; mainWindow: BrowserWindow; - + constructor() { this.initApp(); - this.initializeAppEvents(); + this.initAppEvents(); this.initIpc(); } @@ -19,7 +19,7 @@ class ElectronMain { this.disableSecurityWarnings(); } - initializeAppEvents() { + initAppEvents() { app.on("ready", () => this.createMainWindow()); app.on("window-all-closed", () => this.quitAppOnNonDarwin()); app.on("activate", () => this.createDefaultWindow());