diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:40:46 +0100 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:40:46 +0100 |
commit | 06a57cce8195e7091e4fa22e2068afefb8dff19c (patch) | |
tree | 22b9eddaff019265082a22c7751ee3772e64cd09 /src/app | |
parent | 1a47d4b47b6a58b4a2b5c5834cf1bcb8c985352c (diff) | |
download | Viper-06a57cce8195e7091e4fa22e2068afefb8dff19c.tar.gz Viper-06a57cce8195e7091e4fa22e2068afefb8dff19c.zip |
[feat] 'Play NS button' text is restored after successfull install
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.js | 5 |
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) => { |