Skip to content

Commit

Permalink
Merge pull request #590 from sbsrnt/hotfix/breaking-autoupdater
Browse files Browse the repository at this point in the history
hotfix: breaking autoupdater
  • Loading branch information
Viktor Gullmark authored Oct 22, 2020
2 parents 33e4cf5 + 454c63e commit 96ec81e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ExilenceNextApp/public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ createLogMonitor({ mainWindow: windows[mainWindow] });
*/
createNetWorthOverlay();

/**
* Auto Updater
*/
createAutoUpdater({
mainWindow: windows[mainWindow],
callbackUpdateAvailable: (status) => (updateAvailable = status),
});

/**
* Main Window
*/
Expand Down Expand Up @@ -92,6 +84,14 @@ function createWindow() {
updateAvailable,
isQuittingCallback: (status) => (isQuitting = status),
};

/**
* Auto Updater
*/
createAutoUpdater({
mainWindow: windows[mainWindow],
callbackUpdateAvailable: (status) => (updateAvailable = status),
});
}

/**
Expand Down

0 comments on commit 96ec81e

Please sign in to comment.