Craft Anything: understand how any software works, and craft your own.
Rust
Let the Flatpak create and write its default projects folder (#565)
BFlat7c20db27ccaf
diff --git a/docs/releasing.md b/docs/releasing.mdindex d90f997f..f69ba099 100644--- a/docs/releasing.md+++ b/docs/releasing.md@@ -46,7 +46,8 @@ Plus `SHA256SUMS.txt`.- **Windows portable mode:** the portable zip ships `portable.txt`. While it sits next to the exe,settings live in `CraftAnythingData\` (`crates/engine/src/settings.rs`).- **Flatpak** grants `--share=network` (AI backends, engine downloads) and `--filesystem=home:ro`- (files to inspect, passed by path).+ (files to inspect, passed by path), plus `--filesystem=xdg-documents/Craft Anything:create` so the+ default projects folder can be made and written (#505).- **Fonts** are committed in `assets/fonts` (OFL-1.1). Release and CI builds also embed craft-fontsat the commit pinned in `release.yml` and `ci.yml` (`CRAFT_FONTS_DIR`, `CRAFT_FONTS_REQUIRED=1`),the fallbacks for Korean, Chinese, Japanese, Thai, Arabic, Hebrew, Devanagari and symbols; adiff --git a/packaging/linux/flatpak/ai.storyteller.craft-anything.bundle.yml b/packaging/linux/flatpak/ai.storyteller.craft-anything.bundle.ymlindex 9ef192f6..9e4c73ee 100644--- a/packaging/linux/flatpak/ai.storyteller.craft-anything.bundle.yml+++ b/packaging/linux/flatpak/ai.storyteller.craft-anything.bundle.yml@@ -28,6 +28,9 @@ finish-args:# through the document portal, so picked files work anywhere. Home is readable (never writable)# so files passed by path (the command line, recent targets) can be inspected.- --filesystem=home:ro+ # The default folder for new projects (`default_projects_dir`), writable and made if missing;+ # the rest of home stays read-only (#505).+ - --filesystem=xdg-documents/Craft Anything:create# AI backends (Anthropic, OpenAI, OpenRouter, local servers) and optional engine downloads.- --share=networkmodules:diff --git a/packaging/linux/flatpak/ai.storyteller.craft-anything.yml b/packaging/linux/flatpak/ai.storyteller.craft-anything.ymlindex 6d532eea..0b48ae58 100644--- a/packaging/linux/flatpak/ai.storyteller.craft-anything.yml+++ b/packaging/linux/flatpak/ai.storyteller.craft-anything.yml@@ -29,6 +29,9 @@ finish-args:# through the document portal, so picked files work anywhere. Home is readable (never writable)# so files passed by path (the command line, recent targets) can be inspected.- --filesystem=home:ro+ # The default folder for new projects (`default_projects_dir`), writable and made if missing;+ # the rest of home stays read-only (#505).+ - --filesystem=xdg-documents/Craft Anything:create# AI backends (Anthropic, OpenAI, OpenRouter, local servers) and optional engine downloads.- --share=networkbuild-options: