PollyMC
PollyMC copied to clipboard
Add PollyMC Flatpak xdg-data access
Role
PollyMC Flatpak
Suggestion
Maybe we should add --filesystem=xdg-data/PollyMC:create
to the default flatpak args?
Benefit
Use the same directory as non-flatpak PollyMC (e.g. AppImage) data directory which resides at ~/.local/share/PollyMC
.
This suggestion is unique
- [X] I have searched the issue tracker and did not find an issue describing my suggestion, especially not one that has been rejected.
You may use the editor below to elaborate further.
No response
How do you even install the flatpak anyway, can't seem to do it from the terminal and everything online pertains to using a GUI that I funny enough don't have installed.
I tried this and it worked fine but is this "correct"?
None of the other programs I have installed via flatpak do this, they all use ~/.var/
.
My main worry is that this might cause issues on immutable systems.
How do you even install the flatpak anyway, can't seem to do it from the terminal and everything online pertains to using a GUI that I funny enough don't have installed.
You literally just run flatpak install <flatpak>
.
For instance if you downloaded 7.2 to your downloads folder you'd run cd ~/Downloads/
then flatpak install PollyMC-Linux-7.2-x86_64.flatpak
.
I tried this and it worked fine but is this "correct"? None of the other programs I have installed via flatpak do this, they all use
~/.var/
. My main worry is that this might cause issues on immutable systems.
Not sure about the best practises but immutable systems should not reset its home directory outside of .var
directory. Some Flatpak apps do do this. us.zoom.Zoom
creates both ~/.zoom
and ~/Documents/Zoom
.
If we omit the :create
part, it should also still work for both the existing system install ~/.local/share/PollyMC
and flatpak ~/.var/app/org.fn2006.PollyMC/data/PollyMC
.