Skip to content

Commit

Permalink
Merge pull request #220 from R1kaB3rN/flatpak-cross-device-link
Browse files Browse the repository at this point in the history
fix: download runtime to private cache for flatpak
  • Loading branch information
R1kaB3rN authored Oct 11, 2024
2 parents 3a70f3c + ef93df1 commit 0001a48
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion umu/umu_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@
)

# Temporary directory for downloaded resources moved from tmpfs
UMU_CACHE: Path = Path.home().joinpath(".cache", "umu")
UMU_CACHE: Path = (
Path.home().joinpath(
".var",
"app",
"org.openwinecomponents.umu.umu-launcher",
"cache",
"umu",
)
if os.environ.get("container") == "flatpak" # noqa: SIM112
else Path.home().joinpath(".cache", "umu")
)

# Constant defined in prctl.h
# See prctl(2) for more details
Expand Down

0 comments on commit 0001a48

Please sign in to comment.