Update NSLGameScanner.py

This commit is contained in:
Roy 2024-06-22 04:54:07 -07:00 committed by GitHub
parent 79e84df581
commit 66c29c338a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -609,6 +609,7 @@ if app_ids and os.path.exists(non_steam_launchers_path):
print("NonSteamLaunchers exists at the current path.")
# Define the new path of the NonSteamLaunchers folder
new_path = os.path.join(compatdata_dir, str(first_app_id))
print(f"New path for NonSteamLaunchers: {new_path}")
# Check if the new path already exists
if os.path.exists(new_path):
@ -627,6 +628,7 @@ if app_ids and os.path.exists(non_steam_launchers_path):
else:
print(f"The directory {current_path} does not exist. Skipping.")
#End of old refactored Code