prevent tray close when ingame

This commit is contained in:
HorizonCode 2023-06-28 11:41:19 +02:00
parent 7ed7d3045f
commit f6e5ead7ed

1
app.js
View File

@ -148,6 +148,7 @@ const run = () => {
{ {
label: 'Exit', label: 'Exit',
click: function () { click: function () {
if (isIngame) return;
app.exit(0); app.exit(0);
} }
} }