Skip to content

Commit

Permalink
fix WINEPREFIX parsing failure when fetching game title
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Oct 12, 2024
1 parent deb6fb9 commit ef12135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_game_name() -> str:
json_data = json.loads(data)
title = json_data[0]['title']
with open(
os.environ['WINEPREFIX'] + '/game_title', 'w', encoding='utf-8'
pfx + '/game_title', 'w', encoding='utf-8'
) as file:
file.write(title)
return title
Expand Down

0 comments on commit ef12135

Please sign in to comment.