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

Commit

Permalink
Check if GOG games are installed too
Browse files Browse the repository at this point in the history
Some users may install only GOG games
  • Loading branch information
redromnon committed Mar 5, 2022
1 parent e86c0ab commit 07a78f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/HeroicBashLauncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
print("Checking if Zenity is installed:")
checkzenity = os.system('zenity --version')

if os.path.exists(os.path.expanduser("~") + "/.config/legendary/installed.json") == True and checkzenity == 0:
if (os.path.exists(os.path.expanduser("~") + "/.config/legendary/installed.json") == True or os.path.exists(os.path.expanduser("~") + "/.config/heroic/gog_store/installed.json") == True) and checkzenity == 0:

#If len of arguments is 1 (no extra arguements), then proceed to create launch files for all games
# else, update parameters of a game through launch file
Expand Down

0 comments on commit 07a78f0

Please sign in to comment.