build: flatpak filesystem access tweaks.

This commit is contained in:
Cory McWilliams 2024-10-27 14:37:37 -04:00
parent 177ef1cdcc
commit 070dc5a4c0

View File

@ -5,6 +5,7 @@ sdk: org.freedesktop.Sdk
command: tildefriends-run.sh command: tildefriends-run.sh
finish-args: finish-args:
- --share=network - --share=network
- --filesystem=xdg-data/applications/tildefriends
modules: modules:
- name: tildefriends - name: tildefriends
buildsystem: simple buildsystem: simple
@ -21,5 +22,5 @@ modules:
- type: script - type: script
dest-filename: tildefriends-run.sh dest-filename: tildefriends-run.sh
commands: commands:
- mkdir ~/.local/share/applications/tildefriends/ - mkdir -p ~/.local/share/applications/tildefriends/
- exec tildefriends run -z /app/share/data.zip -d ~/.local/share/applications/tildefriends/db.sqlite - exec tildefriends run -z /app/share/data.zip -d ~/.local/share/applications/tildefriends/db.sqlite