mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
Add files via upload
This commit is contained in:
parent
aa290fee94
commit
e0ecc12aa9
@ -1018,8 +1018,6 @@ if new_shortcuts_added or shortcuts_updated:
|
|||||||
# Assuming 'games' is a list of game dictionaries
|
# Assuming 'games' is a list of game dictionaries
|
||||||
games = [shortcut for shortcut in shortcuts['shortcuts'].values()]
|
games = [shortcut for shortcut in shortcuts['shortcuts'].values()]
|
||||||
|
|
||||||
# Open the pipe for writing
|
|
||||||
with open(PIPE_PATH, 'w') as pipe:
|
|
||||||
for game in games:
|
for game in games:
|
||||||
# Skip if 'appname' or 'exe' is None
|
# Skip if 'appname' or 'exe' is None
|
||||||
if game.get('appname') is None or game.get('exe') is None:
|
if game.get('appname') is None or game.get('exe') is None:
|
||||||
@ -1043,3 +1041,4 @@ if new_shortcuts_added or shortcuts_updated:
|
|||||||
print("All finished!")
|
print("All finished!")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user