mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
Fixed issue not adding web links if there was no real launcher
This commit is contained in:
parent
3b76cc8a48
commit
77e73e9b18
@ -428,6 +428,7 @@ for launcher_name, appid in app_ids.items():
|
|||||||
print(f"The app ID for {launcher_name} is {appid}")
|
print(f"The app ID for {launcher_name} is {appid}")
|
||||||
|
|
||||||
# Get the app ID for the first launcher that the user chose to install
|
# Get the app ID for the first launcher that the user chose to install
|
||||||
|
if app_ids:
|
||||||
appid = app_ids.get(launcher_name)
|
appid = app_ids.get(launcher_name)
|
||||||
|
|
||||||
|
|
||||||
@ -480,7 +481,7 @@ for launcher_name, folder in folder_names.items():
|
|||||||
|
|
||||||
|
|
||||||
# Check if the NonSteamLaunchers folder exists
|
# Check if the NonSteamLaunchers folder exists
|
||||||
if os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')):
|
if app_ids and os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')):
|
||||||
# Get the first app ID from the app_ids list
|
# Get the first app ID from the app_ids list
|
||||||
first_app_id = next(iter(app_ids.values()))
|
first_app_id = next(iter(app_ids.values()))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user