mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-09 20:04:34 +00:00
Inside the Flatpak the autostart entry went into the sandbox's own config folder (~/.var/app/<id>/config/autostart), which the host session never reads, and its Exec line named the in-sandbox /app/bin path. When /.flatpak-info exists the entry now goes into the host's autostart folder ($HOST_XDG_CONFIG_HOME, else ~/.config), is named after the Flatpak app id, and starts the app with `flatpak run --command=artcraft-launcher <id> --hidden` plus X-Flatpak, as the XDG Background portal writes it. Outside a Flatpak the path and the entry are unchanged. Both manifests note that the entry relies on --filesystem=home. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>