mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
Packaging: the Flatpak can read a project's media wherever it lives (#107)
The manifest granted only xdg-pictures, on the premise that the portals make filesystem access unnecessary. But a project refers to its media by absolute path and the document portal exposes only the project file, so a project in ~/Videos or ~/Music opened with all its media missing. Grant the home directory and the usual external-drive mount points (/media, /run/media, /mnt), as other video editors on Flathub do; nothing system-wide. Fixes #107 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5695626216
commit
20ddf9c49e
@@ -21,10 +21,16 @@ finish-args:
|
||||
- --socket=fallback-x11
|
||||
- --socket=pulseaudio
|
||||
- --device=dri
|
||||
# Open/Save dialogs use the file-chooser portal (rfd), and drag-and-drop uses the document
|
||||
# portal, so broad filesystem access isn't needed. Pictures is granted for opening files by
|
||||
# path from the command line.
|
||||
- --filesystem=xdg-pictures
|
||||
# A project refers to its media by absolute path (docs/project-files.md), and the document
|
||||
# portal only exposes the file it was handed, not the media beside it: a project opened from
|
||||
# ~/Videos found none of its clips (#107). So, as other video editors do, FilmCraft reads and
|
||||
# writes the home directory (media, projects, exports, autosave next to the project) and the
|
||||
# usual mount points of external drives, where footage often lives. Open/Save dialogs still go
|
||||
# through the file-chooser portal; nothing outside these locations is granted.
|
||||
- --filesystem=home
|
||||
- --filesystem=/media
|
||||
- --filesystem=/run/media
|
||||
- --filesystem=/mnt
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
modules:
|
||||
|
||||
Reference in New Issue
Block a user