test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.361"
|
||||
version: "0.1.362"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
|
||||
@@ -8,6 +8,12 @@ clientid=$(echo $options | jq '.clientid | select(. != null)')
|
||||
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
||||
|
||||
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
|
||||
bashio::log.info "Enable General AutoFind"
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
preventconfig=$(bashio::cache.get preventconfig)
|
||||
if $preventconfig; then
|
||||
bashio::log.info "Prevent config and exit"
|
||||
bashio::log.info "Prevent USE device from config"
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user