mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-01 16:24:51 +00:00
A Flatpak launcher wrote versions.json inside its own sandbox, and no Flatpak app could read the launcher's folder, so pins never reached Flatpak apps, nor host apps started from their menu entry. The file now sits in its own folder, ArtCraft/versions under the host's per-user data folder, found from inside a Flatpak too (HOST_XDG_DATA_HOME, else ~/.local/share). A Flatpak app reads it with one read-only grant for that folder alone (pins::FLATPAK_GRANT). folders::host_data_local_dir replaces install's private copy of the same rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>