소스 검색

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: