Browse Source

Change to slot not plug

Joachim M. Giæver 1 year ago
parent
commit
93669d790a
1 changed files with 3 additions and 10 deletions
  1. 3 10
      snap/snapcraft.yaml

+ 3 - 10
snap/snapcraft.yaml

@@ -92,18 +92,11 @@ layout:
   /usr/local/share/.yarn:
     symlink: $SNAP/lib/node_modules
 
-#plugs:
-#  zui-store:
-#    interface: content
-#    content: vscs-content
-#    target: $SNAP_COMMON/zui-store
-
-slots: # ZUI offers new config dir within data
-  store-dir:
+plugs:
+  zui-store:
     interface: content
     content: vscs-content
-    write:
-      - $SNAP_DATA
+    target: $SNAP_COMMON/zui-store
 
 parts:
   zwavejs2mqtt: