From 16f0679ebc99f80e3584630e8289b1e312d87abe Mon Sep 17 00:00:00 2001 From: moraroy <88516395+moraroy@users.noreply.github.com> Date: Tue, 9 May 2023 00:03:05 -0700 Subject: [PATCH] Update NonSteamLaunchers.sh --- NonSteamLaunchers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index bd346ad..d0e6175 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1660,7 +1660,7 @@ python setup.py install --prefix=~/Downloads/NonSteamLaunchersInstallation # Find all shortcuts.vdf files -shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;) +shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex ".*/[0-9]{9,10}/config" -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;) # Set the current date current_date=$(date +%s) @@ -1694,7 +1694,7 @@ if [[ -n "$shortcuts_vdf_path" ]]; then cp "$shortcuts_vdf_path" "$shortcuts_vdf_path.bak" else # Find the config directory - config_dir=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*") + config_dir=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex ".*/[0-9]{9,10}/config" -not -path "*/0/*" -not -path "*/anonymous/*") # Check if config_dir is not empty if [[ -n "$config_dir" ]]; then