aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-01-10 00:28:54 +0100
committerRemy Raes <raes.remy@gmail.com>2022-01-10 00:28:54 +0100
commitd582b1165bf090d320cec3a2d65ed04a5cc5e32b (patch)
tree0aca988f701add0edc6a7d3c81f94a38cdd5931a
parentdc36aff8d0872b1fbfae265b97d8589c19d6ea5c (diff)
downloadViper-d582b1165bf090d320cec3a2d65ed04a5cc5e32b.tar.gz
Viper-d582b1165bf090d320cec3a2d65ed04a5cc5e32b.zip
[feat] Northstar launch button holds 'Install' text when ns is not installed
-rw-r--r--src/app/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 1678b86..0c48db1 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -150,6 +150,9 @@ ipcRenderer.on("version", (event, versions) => {
for (let i = 0; i < buttons.length; i++) {
buttons[i].disabled = true;
}
+
+ // Since Northstar is not installed, we cannot launch it
+ northstar.innerText = 'Install';
}
}); ipcRenderer.send("getversion");