test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.325"
|
version: "0.1.326"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
@@ -35,6 +35,7 @@ options:
|
|||||||
clientid: ''
|
clientid: ''
|
||||||
manualhub: ''
|
manualhub: ''
|
||||||
usbdevices: []
|
usbdevices: []
|
||||||
|
preventconfig: false
|
||||||
schema:
|
schema:
|
||||||
updateconfig: bool
|
updateconfig: bool
|
||||||
autouse: 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
|
fi
|
||||||
|
|
||||||
#if bashio::config.has_value 'clientid'; then
|
#if bashio::config.has_value 'clientid'; then
|
||||||
if ${clientid+:} ; then
|
if [ -n "$clientid" ]; then
|
||||||
#clientid=($(bashio::config 'clientid'))
|
#clientid=($(bashio::config 'clientid'))
|
||||||
bashio::log.info "Set General ClientId to ${clientid}"
|
bashio::log.info "Set General ClientId to ${clientid}"
|
||||||
/usr/bin/vh_edit_config General ClientId ${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
|
fi
|
||||||
|
|
||||||
if ${manualhub+:} ; then
|
if [ -n "$manualhub" ]; then
|
||||||
|
|
||||||
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
|
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
|
||||||
/usr/bin/vh_edit_config Settings ManualHubs ${manualhub}
|
/usr/bin/vh_edit_config Settings ManualHubs ${manualhub}
|
||||||
|
|||||||
Reference in New Issue
Block a user