1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-02 16:40:51 +00:00

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

View File

@ -74,13 +74,20 @@ parts:
snapcraftctl build snapcraftctl build
snapcraftctl set-version $(git -C ../src describe --tags | sed 's/v//') 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: apps:
starship: starship:
command: bin/starship command: bin/starship
plugs: plugs:
- home - home
- removable-media - removable-media
- personal-files - starship-config
architectures: architectures:
- build-on: amd64 - build-on: amd64