From d582b1165bf090d320cec3a2d65ed04a5cc5e32b Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Mon, 10 Jan 2022 00:28:54 +0100 Subject: [feat] Northstar launch button holds 'Install' text when ns is not installed --- src/app/main.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app') 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"); -- cgit v1.2.3