Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Grant network access so update checks can reach GitHub (#3269)

Dylan M. Taylore2d18b5fb9e6
diff --git a/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml b/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml
index 752e1edec..73a44f022 100644
--- a/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml
+++ b/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml
@@ -29,10 +29,10 @@ finish-args:
# drag-and-drop through the document portal, so picked folders elsewhere work without broad
# filesystem access.
- --filesystem=xdg-pictures
- # Deliberately not granted: home/host filesystem access, and network. The network is only for
- # the optional SAM 3 model download (AI Object/Describe masks, docs/ai-masks.md); without it
- # that download fails with an error and everything else works. Users who want it run
- # `flatpak override --user --share=network ai.storyteller.lightcraft`.
+ # Deliberately not granted: home/host filesystem access. Network is needed for update checks
+ # against GitHub and the optional SAM 3 model download (AI Object/Describe masks,
+ # docs/ai-masks.md).
+ - --share=network
modules:
- name: lightcraft
buildsystem: simple
diff --git a/packaging/linux/flatpak/ai.storyteller.lightcraft.yml b/packaging/linux/flatpak/ai.storyteller.lightcraft.yml
index e125475c5..83721a81c 100644
--- a/packaging/linux/flatpak/ai.storyteller.lightcraft.yml
+++ b/packaging/linux/flatpak/ai.storyteller.lightcraft.yml
@@ -35,10 +35,10 @@ finish-args:
# drag-and-drop through the document portal, so picked folders elsewhere work without broad
# filesystem access.
- --filesystem=xdg-pictures
- # Deliberately not granted: home/host filesystem access, and network. The network is only for
- # the optional SAM 3 model download (AI Object/Describe masks, docs/ai-masks.md); without it
- # that download fails with an error and everything else works. Users who want it run
- # `flatpak override --user --share=network ai.storyteller.lightcraft`.
+ # Deliberately not granted: home/host filesystem access. Network is needed for update checks
+ # against GitHub and the optional SAM 3 model download (AI Object/Describe masks,
+ # docs/ai-masks.md).
+ - --share=network
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
modules: