|
|
@@ -6,15 +6,24 @@ description: |
|
|
|
trustworthy and decentralized. Your data is your data alone and you deserve
|
|
|
to choose where it is stored, if it is shared with some third party and how
|
|
|
it's transmitted over the Internet.
|
|
|
-architectures: [{{.Architecture}}]
|
|
|
+architectures:
|
|
|
+ - build-on: [{{.HostArchitecture}}]
|
|
|
+ run-on: [{{.TargetArchitecture}}]
|
|
|
|
|
|
grade: {{.Grade}}
|
|
|
confinement: strict
|
|
|
|
|
|
apps:
|
|
|
syncthing:
|
|
|
- command: env HOME="$SNAP_USER_COMMON" XDG_CONFIG_HOME="$SNAP_USER_COMMON" "$SNAP/syncthing"
|
|
|
- plugs: [home, network, network-bind]
|
|
|
+ command: syncthing
|
|
|
+ environment:
|
|
|
+ HOME: ${SNAP_USER_COMMON}
|
|
|
+ XDG_CONFIG_HOME: ${SNAP_USER_COMMON}
|
|
|
+ plugs:
|
|
|
+ - home
|
|
|
+ - network
|
|
|
+ - network-bind
|
|
|
+ - removable-media
|
|
|
|
|
|
parts:
|
|
|
syncthing:
|