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
66c29c338a
commit
3109554f82
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user