aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index dad4b7e..8a25c36 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -442,6 +442,9 @@ ipcRenderer.on("is-running", (event, running) => {
is_running = running;
+ // show force quit button in Titanfall tab
+ tfquit.style.display = "inline-block";
+
update.setAttribute("onclick", "kill_game()");
update.innerHTML = "(" + lang("ns.menu.force_quit") + ")";
return;
@@ -453,6 +456,9 @@ ipcRenderer.on("is-running", (event, running) => {
is_running = running;
+ // hide force quit button in Titanfall tab
+ tfquit.style.display = "none";
+
update.setAttribute("onclick", "updateNorthstar()");
update.innerHTML = "(" + lang("gui.update.check") + ")";
}