aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-04-13 23:33:13 +0200
committer0neGal <mail@0negal.com>2022-04-13 23:33:13 +0200
commit71755bdb857c0c4724ea0e43bab5a816e16f611a (patch)
tree8e8ec6bf20ee7e7615c8960b23e35625805839ec /src
parentcbcaafa35624c70e313c00232f78a366d05ef3a9 (diff)
downloadViper-71755bdb857c0c4724ea0e43bab5a816e16f611a.tar.gz
Viper-71755bdb857c0c4724ea0e43bab5a816e16f611a.zip
fixed --update not exiting if already on latest
Diffstat (limited to 'src')
-rw-r--r--src/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index 19b0820..46b89a6 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -258,6 +258,7 @@ async function update() {
console.log(lang("cli.update.uptodate"), version);
winLog(lang("gui.update.uptodate"));
+ cli.exit();
return;
} else {
if (version != "unknown") {