This commit is contained in:
Hans Karlinius
2024-12-01 09:13:23 +01:00
parent 12db46a08b
commit a1e03be7c5
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.325"
version: "0.1.326"
slug: vhclient
description: VirtualHere Client
arch:
@@ -35,6 +35,7 @@ options:
clientid: ''
manualhub: ''
usbdevices: []
preventconfig: false
schema:
updateconfig: bool
autouse: bool
@@ -1 +1 @@
/etc/s6-overlay/scripts/vhclient-add-devices
/etc/s6-overlay/scripts/vhclient-use-devices
@@ -23,13 +23,16 @@ else
fi
#if bashio::config.has_value 'clientid'; then
if ${clientid+:} ; then
if [ -n "$clientid" ]; then
#clientid=($(bashio::config 'clientid'))
bashio::log.info "Set General ClientId to ${clientid}"
/usr/bin/vh_edit_config General ClientId ${clientid}
else
bashio::log.info "Set General ClientId to null"
/usr/bin/vh_edit_config General ClientId null
fi
if ${manualhub+:} ; then
if [ -n "$manualhub" ]; then
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
/usr/bin/vh_edit_config Settings ManualHubs ${manualhub}