Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

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

Dylan M. Taylored960ef1f1d7
diff --git a/packaging/linux/flatpak/ai.storyteller.vectorcraft.bundle.yml b/packaging/linux/flatpak/ai.storyteller.vectorcraft.bundle.yml
index 687445a55..94aa4f392 100644
--- a/packaging/linux/flatpak/ai.storyteller.vectorcraft.bundle.yml
+++ b/packaging/linux/flatpak/ai.storyteller.vectorcraft.bundle.yml
@@ -24,6 +24,8 @@ finish-args:
- --socket=fallback-x11
# GPU access for the wgpu renderer (Vulkan, or GL as a fallback).
- --device=dri
+ # Network for the update check against GitHub releases.
+ - --share=network
# Cursor theme: without the cursor-shape protocol (e.g. GNOME 46) winit loads the theme itself.
# The sandbox sets no XCURSOR_PATH and ships no cursor themes, so the pointer would turn invisible
# over the window. The host's themes are mounted under /run/host (#2450).
@@ -36,9 +38,7 @@ finish-args:
# to a sandbox: it exposes /usr/share/fonts and ~/.local/share/fonts, and nothing else. Without
# this the font list holds none of the activated families, while native apps see them.
- --filesystem=~/.fonts:ro
- # Deliberately not granted: network (the optional --control server listens on 127.0.0.1 in
- # the sandbox; `flatpak override --user --share=network ai.storyteller.vectorcraft` exposes it
- # to host agents) and home/host filesystem access beyond the read-only folders above.
+ # Deliberately not granted: home/host filesystem access beyond the read-only folders above.
modules:
- name: vectorcraft
buildsystem: simple
diff --git a/packaging/linux/flatpak/ai.storyteller.vectorcraft.yml b/packaging/linux/flatpak/ai.storyteller.vectorcraft.yml
index c2a00eab1..4d740a8d9 100644
--- a/packaging/linux/flatpak/ai.storyteller.vectorcraft.yml
+++ b/packaging/linux/flatpak/ai.storyteller.vectorcraft.yml
@@ -22,6 +22,8 @@ finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
+ # Network for the update check against GitHub releases.
+ - --share=network
# Cursor theme: without the cursor-shape protocol (e.g. GNOME 46) winit loads the theme itself.
# The sandbox sets no XCURSOR_PATH and ships no cursor themes, so the pointer would turn invisible
# over the window. The host's themes are mounted under /run/host (#2450).