diff options
author | Rémy Raes <contact@remyraes.com> | 2022-09-16 07:51:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 07:51:42 +0200 |
commit | a504dbe5e3a1dacb90a60409bbfb784f243a9413 (patch) | |
tree | cd3ed238357f4a82575b498608a2f144cf33cd23 /src/index.js | |
parent | 16c658e245074dc2e5c9ccf09d4e5f421602fa95 (diff) | |
parent | 096c54e746def93eb6ee1b2a8d91e1e62555d610 (diff) | |
download | Viper-a504dbe5e3a1dacb90a60409bbfb784f243a9413.tar.gz Viper-a504dbe5e3a1dacb90a60409bbfb784f243a9413.zip |
Merge branch '0neGal:main' into feat/ci-builds
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.js b/src/index.js index e01a635..30e36f5 100644 --- a/src/index.js +++ b/src/index.js @@ -105,7 +105,7 @@ function start() { if (cli.hasParam("no-vp-updates")) { utils.handleNorthstarUpdating(); } else { - utils.updatevp(false) + utils.updateViper(false) } } else { utils.handleNorthstarUpdating(); @@ -146,7 +146,7 @@ ipcMain.on("launch-vanilla", () => {utils.launch("vanilla")}); ipcMain.on("setlang", (event, lang) => {utils.setlang(lang)}); -ipcMain.on("update", () => {utils.update()}) +ipcMain.on("update-northstar", () => {utils.updateNorthstar()}) ipcMain.on("setpath-cli", () => {utils.setpath()}); ipcMain.on("setpath", (event, value) => { if (! value) { @@ -224,8 +224,8 @@ process.chdir(app.getPath("appData")); // starts the GUI or CLI if (cli.hasArgs()) { - if (cli.hasParam("updatevp")) { - utils.updatevp(true); + if (cli.hasParam("update-viper")) { + utils.updateViper(true); } else { cli.init(); } |