diff --git a/main.js b/main.js index e8a3a07..3bc0439 100644 --- a/main.js +++ b/main.js @@ -251,7 +251,7 @@ app.whenReady().then(async () => { configFeatures.discordRPC ? startRPC() : ""; await createMainWindow(); - configFeatures.AutoUpdater ? AutoUpdater(mainWindow) : ""; // Auto Update + configFeatures.autoUpdate ? AutoUpdater(mainWindow) : ""; // Auto Update } catch (err) { logger.error("Window or Server error :", err); diff --git a/server/update.js b/server/update.js index a21908e..d38aa70 100644 --- a/server/update.js +++ b/server/update.js @@ -1,5 +1,5 @@ const { autoUpdater } = require("electron-updater"); -const { app, Notification } = require("electron"); +const { app, Notification, shell} = require("electron"); const { logger } = require("./logger"); function AutoUpdater() {