Skip to content

Commit

Permalink
umu_consts: fallback to $XDG_DATA_HOME for umu Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Nov 24, 2024
1 parent 5f7599f commit ef62dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class GamescopeAtom(Enum):
XDG_DATA_HOME: Path = (
Path(os.environ["HOST_XDG_DATA_HOME"])
if os.environ.get("HOST_XDG_DATA_HOME")
else Path.home().joinpath(".local", "share")
else Path(os.environ["XDG_DATA_HOME"])
)
elif os.environ.get("SNAP"):
XDG_DATA_HOME: Path = Path(os.environ["SNAP_REAL_HOME"])
Expand Down

0 comments on commit ef62dff

Please sign in to comment.