Skip to content

Commit

Permalink
Print Proton games in verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueManCZ committed Mar 11, 2024
1 parent 10093ff commit 6aff46c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sif.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,16 @@ def quit_handler(_, __):

proton_games = []

verbose_print("[proton] These games are using Proton compatibility tool:")

for game in games_with_compat:
game_dict = games_with_compat[game]
key = get_possible_key(game_dict, "name", "Name")
if game in fixable_games:
verbose_print(" - %s - %s" % (fixable_games[game], game_dict[key]))
if key and any(x in game_dict[key] for x in ["proton", "Proton"]):
proton_games.append(game)
verbose_print("")

# --icons

Expand Down

0 comments on commit 6aff46c

Please sign in to comment.