mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-06-13 04:04:59 +03:00
Uncomment code to add new entry to shortcuts
fixed duplication
This commit is contained in:
+2
-2
@@ -3711,8 +3711,8 @@ def create_new_entry(shortcutdirectory, appname, launchoptions, startingdir, lau
|
|||||||
|
|
||||||
|
|
||||||
# Add the new entry to the shortcuts dictionary and add proton
|
# Add the new entry to the shortcuts dictionary and add proton
|
||||||
#key = get_next_available_key(shortcuts)
|
key = get_next_available_key(shortcuts)
|
||||||
#shortcuts['shortcuts'][key] = new_entry
|
shortcuts['shortcuts'][key] = new_entry
|
||||||
print(f"Added new entry for {appname} to shortcuts.")
|
print(f"Added new entry for {appname} to shortcuts.")
|
||||||
new_shortcuts_added = True
|
new_shortcuts_added = True
|
||||||
created_shortcuts.append(appname)
|
created_shortcuts.append(appname)
|
||||||
|
|||||||
Reference in New Issue
Block a user