aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index c6179e0..3d2f65b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -156,6 +156,10 @@ function start() {
ipcMain.on("update-now", () => {
autoUpdater.quitAndInstall();
})
+
+ setInterval(async () => {
+ send("is-running", await is_running.game());
+ }, 1000)
}
ipcMain.on("install-mod", () => {