mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 08:09:18 +01:00
fixed controller config path
This commit is contained in:
parent
bf5a8a1548
commit
4cc95df69c
@ -923,7 +923,7 @@ if new_shortcuts_added or shortcuts_updated:
|
||||
file.write(vdf.binary_dumps(shortcuts))
|
||||
|
||||
# Load the configset_controller_neptune.vdf file
|
||||
with open(controller_config_path, 'r') as f:
|
||||
with open(f"{controller_config_path}", 'r') as f:
|
||||
config = vdf.load(f)
|
||||
|
||||
# Add new entries for the games
|
||||
@ -1006,7 +1006,7 @@ if new_shortcuts_added or shortcuts_updated:
|
||||
}
|
||||
|
||||
# Save the updated config
|
||||
with open(controller_config_path, 'w') as f:
|
||||
with open(f"{controller_config_path}", 'w') as f:
|
||||
vdf.dump(config, f)
|
||||
|
||||
# Print the created shortcuts
|
||||
|
Loading…
Reference in New Issue
Block a user