mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
79e84df581
commit
66c29c338a
@ -609,6 +609,7 @@ if app_ids and os.path.exists(non_steam_launchers_path):
|
|||||||
print("NonSteamLaunchers exists at the current path.")
|
print("NonSteamLaunchers exists at the current path.")
|
||||||
# Define the new path of the NonSteamLaunchers folder
|
# Define the new path of the NonSteamLaunchers folder
|
||||||
new_path = os.path.join(compatdata_dir, str(first_app_id))
|
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
|
# Check if the new path already exists
|
||||||
if os.path.exists(new_path):
|
if os.path.exists(new_path):
|
||||||
@ -627,6 +628,7 @@ if app_ids and os.path.exists(non_steam_launchers_path):
|
|||||||
else:
|
else:
|
||||||
print(f"The directory {current_path} does not exist. Skipping.")
|
print(f"The directory {current_path} does not exist. Skipping.")
|
||||||
|
|
||||||
|
|
||||||
#End of old refactored Code
|
#End of old refactored Code
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user