aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-01-10 00:40:46 +0100
committerRemy Raes <raes.remy@gmail.com>2022-01-10 00:40:46 +0100
commit06a57cce8195e7091e4fa22e2068afefb8dff19c (patch)
tree22b9eddaff019265082a22c7751ee3772e64cd09
parent1a47d4b47b6a58b4a2b5c5834cf1bcb8c985352c (diff)
downloadViper-06a57cce8195e7091e4fa22e2068afefb8dff19c.tar.gz
Viper-06a57cce8195e7091e4fa22e2068afefb8dff19c.zip
[feat] 'Play NS button' text is restored after successfull install
-rw-r--r--src/app/main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 1fdaa00..86722b4 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -118,7 +118,10 @@ function installmod() {
ipcRenderer.send("installmod")
}
-ipcRenderer.on("ns-updated", () => {setButtons(true)})
+ipcRenderer.on("ns-updated", () => {
+ setButtons(true);
+ northstar.innerText = lang('gui.launchnorthstar');
+})
ipcRenderer.on("ns-updating", () => {setButtons(false)})
ipcRenderer.on("newpath", (event, newpath) => {