diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:28:54 +0100 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:28:54 +0100 |
commit | d582b1165bf090d320cec3a2d65ed04a5cc5e32b (patch) | |
tree | 0aca988f701add0edc6a7d3c81f94a38cdd5931a | |
parent | dc36aff8d0872b1fbfae265b97d8589c19d6ea5c (diff) | |
download | Viper-d582b1165bf090d320cec3a2d65ed04a5cc5e32b.tar.gz Viper-d582b1165bf090d320cec3a2d65ed04a5cc5e32b.zip |
[feat] Northstar launch button holds 'Install' text when ns is not installed
-rw-r--r-- | src/app/main.js | 3 |
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"); |