test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.361"
|
version: "0.1.362"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ clientid=$(echo $options | jq '.clientid | select(. != null)')
|
|||||||
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
||||||
|
|
||||||
bashio::cache.set preventconfig $preventconfig
|
bashio::cache.set preventconfig $preventconfig
|
||||||
|
bashio::cache.set autouse $autouse
|
||||||
|
|
||||||
|
if $preventconfig; then
|
||||||
|
bashio::log.info "Prevent updating config"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if $autofind; then
|
if $autofind; then
|
||||||
bashio::log.info "Enable General AutoFind"
|
bashio::log.info "Enable General AutoFind"
|
||||||
|
|||||||
@@ -2,8 +2,14 @@
|
|||||||
|
|
||||||
preventconfig=$(bashio::cache.get preventconfig)
|
preventconfig=$(bashio::cache.get preventconfig)
|
||||||
if $preventconfig; then
|
if $preventconfig; then
|
||||||
bashio::log.info "Prevent config and exit"
|
bashio::log.info "Prevent USE device from config"
|
||||||
exit0
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
autouse=$(bashio::cache.get autouse)
|
||||||
|
if $autouse; then
|
||||||
|
bashio::log.info "AutoShare enabled, will not USE device from config"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if bashio::config.has_value 'usbdevices'; then
|
if bashio::config.has_value 'usbdevices'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user