Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use $HOME/.local/share/umu and $XDG_CACHE_HOME for flatpak #229

Merged

Conversation

R1kaB3rN
Copy link
Member

@R1kaB3rN R1kaB3rN commented Oct 14, 2024

Centralizes the installation path of umu for both Flatpak and native applications in $HOME/.local/share/umu. This change will prevent cases like flathub/net.lutris.Lutris#440 where the meaning of ~/.var/app/org.openwinecomponents.umu.umu-launcher/data/umu changes when the host's home directory is exposed.

Flatpaks will be required to change their manifest to allow read-write access to the host ~/.local/share/umu.

Closes #230

@R1kaB3rN R1kaB3rN marked this pull request as ready for review October 14, 2024 03:01
@R1kaB3rN R1kaB3rN changed the title fix: use $HOME/.local/share/umu and XDG_CACHE_HOME for flatpak fix: use $HOME/.local/share/umu and $XDG_CACHE_HOME for flatpak Oct 14, 2024
umu/umu_consts.py Outdated Show resolved Hide resolved
- Prefer conforming to the XDG Base Directory Specification when possible for our cache directory
umu/umu_consts.py Outdated Show resolved Hide resolved
@strycore strycore merged commit 2c6ad34 into Open-Wine-Components:main Oct 14, 2024
10 checks passed
strycore pushed a commit that referenced this pull request Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Games using Proton-GE (UMU) will not lauch in lutris flatpak
3 participants