mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
fix snips assistant (#223)
* fix snips assistant * Update config.json * Create CHANGELOG.md
This commit is contained in:
4
snips/CHANGELOG.md
Normal file
4
snips/CHANGELOG.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Changelog
|
||||
|
||||
## 0.6.5-p1
|
||||
- Bugfix wrong path to assistant files
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Snips.AI",
|
||||
"version": "0.6.5",
|
||||
"version": "0.6.5-p1",
|
||||
"slug": "snips",
|
||||
"description": "Local voice control platform",
|
||||
"url": "https://home-assistant.io/addons/snips/",
|
||||
|
||||
@@ -48,12 +48,12 @@ mosquitto -c /etc/mosquitto.conf &
|
||||
|
||||
# init snips config
|
||||
mkdir -p "$SNIPS_CONFIG"
|
||||
ln -s "$SNIPS_CONFIG/" "/opt/snips/config"
|
||||
|
||||
# check if a new assistant file exists
|
||||
if [ -f "/share/$ASSISTANT" ]; then
|
||||
echo "[Info] Install/Update snips assistant"
|
||||
unzip -o -u "/share/$ASSISTANT" -d "$SNIPS_CONFIG"
|
||||
fi
|
||||
ln -s "$SNIPS_CONFIG/assistant/" /usr/share/snips/assistant
|
||||
|
||||
/opt/snips/snips-entrypoint.sh --mqtt localhost:1883
|
||||
|
||||
Reference in New Issue
Block a user