diff options
Diffstat (limited to 'src/utils.js')
-rw-r--r-- | src/utils.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils.js b/src/utils.js index 712d1b3..b69c957 100644 --- a/src/utils.js +++ b/src/utils.js @@ -168,7 +168,7 @@ function handleNorthstarUpdating() { }).show(); } else { console.log(lang("cli.autoupdates.updatingns")); - update(); + updateNorthstar(); } } else { console.log(lang("cli.autoupdates.noupdate")); @@ -352,7 +352,7 @@ restoreExcludedFiles(); // As to handle not overwriting files we rename certain files to // <file>.excluded, then rename them back after the extraction. The // unzip module does not support excluding files directly. -async function update() { +async function updateNorthstar() { if (! gamepathExists()) {return} ipcMain.emit("ns-update-event", "cli.update.checking"); @@ -445,7 +445,7 @@ async function update() { // This uses electron updater to easily update and publish releases, it // simply fetches it from GitHub and updates if it's outdated, very // useful. Not much we have to do on our side. -function updatevp(autoinstall) { +function updateViper(autoinstall) { const { autoUpdater } = require("electron-updater"); if (! autoUpdater.isUpdaterActive()) { @@ -938,10 +938,10 @@ module.exports = { mods, winLog, - update, - updatevp, + updateViper, getNSVersion, getTF2Version, + updateNorthstar, handleNorthstarUpdating, launch, |