Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
Alternate legendary for epic only
Browse files Browse the repository at this point in the history
Forgot to check if games are epic if alternate legendary is specified, thus affecting GOG games binary
  • Loading branch information
redromnon committed Mar 5, 2022
1 parent 07a78f0 commit 1f34a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/checkbinary.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def getbinary(gametype):
else:
binary = "/opt/Heroic/resources/app.asar.unpacked/build/bin/linux/legendary "

elif heroicconfig["defaultSettings"]["altLegendaryBin"] != "":
elif heroicconfig["defaultSettings"]["altLegendaryBin"] != "" and gametype == "epic":
binary = heroicconfig["defaultSettings"]["altLegendaryBin"] + " "
else:

Expand Down

0 comments on commit 1f34a68

Please sign in to comment.