瀏覽代碼

Add hooks and fix plugs

Joachim M. Giæver 4 年之前
父節點
當前提交
5248456005
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4 0
      snap/hooks/install
  2. 2 0
      snap/snapcraft.yaml

+ 4 - 0
snap/hooks/install

@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+echo "Creating dir $SNAP_DATA/custom_components"
+mkdir $SNAP_DATA/custom_components

+ 2 - 0
snap/snapcraft.yaml

@@ -42,6 +42,8 @@ apps:
       # GPIO devices etc.. (e.g RaZberry GPIO hat)
       - physical-memory-control
       - certs
+    slots: 
+      - components
 
 parts:
   homeassistant: