flatpak-builder --force-clean --user --install flatpak-build \ org.multimc.MultiMC.yaml
I can also run the application with
flatpak run org.multimc.MultiMC. However I get a window with the following error:
MultiMC couldn’t create a log file - the MultiMC data folder is not writable.
Make sure you have write permissions to the MultiMC data folder.
MultiMC cannot continue until you fix this problem.
I have tried giving additional permissions with different combinations from the following list, but it remains unresolved.
--persist=.local/share --filesystem=xdg-data:create --filesystem=xdg-run[/app] --filesystem=/app[/bin] --filesystem=host[:create] --filesystem=home
I looked at a regular build; after I run it for the first time, I see new folders and log files in the install directory (which is why I tried the variations of
/app above). I also looked at the source (guided by the result of
git grep "data folder"). That led me to the
What am I missing? Can someone help?
PS: Is there are a place where I can find the precise meaning of all these options? The flatpak docs are too sparse, it barely goaes beyond the man pages. E.g. there’s no list of sdk extensions available or instructions on how to use them, or how are the buildsystems setup. I had to figure out everything from other manifest files, or trial-and-error.