From f6e5ead7eded9678043a154dca6c4222882a29d0 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Wed, 28 Jun 2023 11:41:19 +0200 Subject: [PATCH] prevent tray close when ingame --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 27d2c95..d95cc75 100644 --- a/app.js +++ b/app.js @@ -148,6 +148,7 @@ const run = () => { { label: 'Exit', click: function () { + if (isIngame) return; app.exit(0); } }