Skip to content

Commit

Permalink
Fix -c parameter for non-Steam shortcuts
Browse files Browse the repository at this point in the history
The installation directory found in shortcuts.vdf contains unnecessary
quotes which prevented custom commands from working.
  • Loading branch information
Matoking committed Nov 6, 2019
1 parent 4800762 commit 11120a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protontricks/steam.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def get_custom_windows_shortcuts(steam_path):
prefix_path = os.path.join(
steam_path, "steamapps", "compatdata", str(appid), "pfx"
)
install_path = shortcut_data["startdir"]
install_path = shortcut_data["startdir"].strip('"')

if not os.path.isdir(prefix_path):
continue
Expand Down

0 comments on commit 11120a2

Please sign in to comment.