Specify personal-file interface for snap

This commit is contained in:
Matan Kushner 2023-04-29 16:25:38 +09:00
parent 7c053fb698
commit 2641a37865
No known key found for this signature in database
1 changed files with 8 additions and 1 deletions

View File

@ -74,13 +74,20 @@ parts:
snapcraftctl build
snapcraftctl set-version $(git -C ../src describe --tags | sed 's/v//')
plugs:
starship-config:
interfaces: personal-files
write:
- $HOME/.config/starship.toml
- $HOME/.cache/starship
apps:
starship:
command: bin/starship
plugs:
- home
- removable-media
- personal-files
- starship-config
architectures:
- build-on: amd64