diff --git a/snapcraft.tpl.yaml b/snapcraft.tpl.yaml index 03c7249..1ad2303 100644 --- a/snapcraft.tpl.yaml +++ b/snapcraft.tpl.yaml @@ -24,6 +24,16 @@ parts: build-packages: - pkg-config +plugs: + dot-local-share-typst: + interface: personal-files + write: + - $HOME/.local/share/typst + dot-cache-typst: + interface: personal-files + write: + - $HOME/.cache/typst + apps: typst: command: "bin/typst" @@ -32,3 +42,5 @@ apps: - network # retrieve packages - home # read sources and write output - removable-media # read sources on media + - dot-local-share-typst # read/write ~/.local/share/typst + - dot-cache-typst # read/write ~/.cache/typst