From ab1591e0f89651fa4353cb180d500a00b8deb77a Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:22:56 -0800 Subject: [PATCH] fixed the Live note --- NonSteamLaunchers.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 9de8a35..2d91e40 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -117,7 +117,13 @@ env_vars="${logged_in_home}/.config/systemd/user/env_vars" - +if [ -f "$env_vars" ]; then + echo "env_vars file found. Running the .py file." + live="and is LIVE." +else + echo "env_vars file not found. Not Running the .py file." + live="and is not LIVE." +fi @@ -146,6 +152,8 @@ else # If the Decky Plugin argument is not set, continue with the script echo "Decky Plugin argument not set. Continuing with the script..." python3 $python_script_path + echo "env_vars file found. Running the .py file." + live="and is LIVE." fi