aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-08-06 22:47:27 +0200
committerAlystrasz <contact@remyraes.com>2022-08-06 22:47:27 +0200
commit64fb444ad72bdba342a7345644a5b55d94c7f696 (patch)
treee58e97a96372e65b6c48020cc3a0d024783c0ff4 /src/app/main.js
parentc4e77a0f19804c94bc21c6d90dd3c49a37d4d5cb (diff)
downloadViper-64fb444ad72bdba342a7345644a5b55d94c7f696.tar.gz
Viper-64fb444ad72bdba342a7345644a5b55d94c7f696.zip
feat: prevent Northstar update and update download link text if no Internet
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 9fb3191..4288d1d 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -122,6 +122,7 @@ ipcRenderer.on("ns-update-event", (event, key) => {
console.log(lang(key));
switch(key) {
case "cli.update.uptodate.short":
+ case "cli.update.noInternet":
setButtons(true);
playNsBtn.innerText = lang("gui.launch");
break;