From a5dd677c6e5e6c2cb3eec7a2edc08d15dfe43c7a Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sun, 5 Mar 2023 00:52:49 +0100 Subject: show alert when updating with game running This also fixes is_running not quite working on Linux --- src/modules/update.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/update.js') diff --git a/src/modules/update.js b/src/modules/update.js index cfdb42b..2c75cac 100644 --- a/src/modules/update.js +++ b/src/modules/update.js @@ -63,7 +63,7 @@ update.northstar_autoupdate = () => { if (await northstar_update_available()) { console.log(lang("cli.autoupdates.available")); if (await is_running.game()) { - console.log(lang("cli.autoupdates.gamerunning")); + console.log(lang("general.autoupdates.gamerunning")); new Notification({ title: lang("gui.nsupdate.gaming.title"), body: lang("gui.nsupdate.gaming.body") @@ -150,7 +150,7 @@ update.viper = (autoinstall) => { // unzip module does not support excluding files directly. update.northstar = async () => { if (await is_running.game()) { - console.log(lang("cli.autoupdates.gamerunning")); + console.log(lang("general.autoupdates.gamerunning")); return false; } -- cgit v1.2.3