Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mackignacio authored Jul 27, 2018
1 parent 7013d37 commit e07799f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ class ElectronMain {
args: any;
serve: boolean;
mainWindow: BrowserWindow;

constructor() {
this.initApp();
this.initializeAppEvents();
this.initAppEvents();
this.initIpc();
}

Expand All @@ -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());
Expand Down

0 comments on commit e07799f

Please sign in to comment.