diff --git a/ExilenceNextApp/public/electron.js b/ExilenceNextApp/public/electron.js index 50aba9cf..3dcde3a9 100644 --- a/ExilenceNextApp/public/electron.js +++ b/ExilenceNextApp/public/electron.js @@ -43,14 +43,6 @@ createLogMonitor({ mainWindow: windows[mainWindow] }); */ createNetWorthOverlay(); -/** - * Auto Updater - */ -createAutoUpdater({ - mainWindow: windows[mainWindow], - callbackUpdateAvailable: (status) => (updateAvailable = status), -}); - /** * Main Window */ @@ -92,6 +84,14 @@ function createWindow() { updateAvailable, isQuittingCallback: (status) => (isQuitting = status), }; + + /** + * Auto Updater + */ + createAutoUpdater({ + mainWindow: windows[mainWindow], + callbackUpdateAvailable: (status) => (updateAvailable = status), + }); } /**