Explorar o código

snapcraft: Point home and config dir towards non-versioned snap home (fixes #3730)

Jakob Borg %!s(int64=9) %!d(string=hai) anos
pai
achega
562d2f67a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      snapcraft.yaml.template

+ 1 - 1
snapcraft.yaml.template

@@ -13,7 +13,7 @@ confinement: strict
 
 
 apps:
 apps:
   syncthing:
   syncthing:
-    command: syncthing
+    command: env HOME="$SNAP_USER_COMMON" XDG_CONFIG_HOME="$SNAP_USER_COMMON" "$SNAP/syncthing"
     plugs: [home, network, network-bind]
     plugs: [home, network, network-bind]
 
 
 parts:
 parts: