Skip to content

Commit

Permalink
add umu-database.csv and package it, use it for looking up umu info i…
Browse files Browse the repository at this point in the history
…nstead of requiring internet connection
  • Loading branch information
GloriousEggroll committed Oct 15, 2024
1 parent 7660dc9 commit c3f5fb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def get_game_id() -> str:
def get_game_name() -> str:
"""Trys to return the game name from environment variables"""
pfx = os.environ.get('WINEPREFIX') or protonmain.g_session.env.get('WINEPREFIX')
script_dir = os.path.dirname(os.path.abspath(__file__))

if os.environ.get('UMU_ID'):
umu_id = os.environ['UMU_ID']
Expand Down

0 comments on commit c3f5fb5

Please sign in to comment.