From 3109554f82fac2dbf9c7bfed3ad05c569093ab8a Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Sat, 22 Jun 2024 04:59:16 -0700 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index f2470d3..9071aeb 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -564,7 +564,7 @@ for launcher_name, folder in folder_names.items(): # Check if the new path already exists if os.path.exists(new_path): - print(f'{new_path} already exists. Skipping renaming.') + print(f'{new_path} already exists. Skipping renaming and symlinking.') else: # Rename the folder os.rename(current_path, new_path) @@ -582,6 +582,7 @@ for launcher_name, folder in folder_names.items(): else: print(f'{launcher_name}: {folder} does not exist') + # Check if the NonSteamLaunchers folder exists non_steam_launchers_path = os.path.join(compatdata_dir, 'NonSteamLaunchers') if app_ids and os.path.exists(non_steam_launchers_path):