This commit is contained in:
Hans Karlinius
2024-12-03 11:40:31 +01:00
parent 3822e8e9f2
commit 0c1cf83e3a
2 changed files with 3 additions and 6 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client name: VirtualHere Client
version: "0.1.346" version: "0.1.347"
slug: vhclient slug: vhclient
description: VirtualHere Client description: VirtualHere Client
arch: arch:
@@ -37,13 +37,13 @@ options:
schema: schema:
autouse: bool autouse: bool
autofind: bool autofind: bool
clientid: str?
manualhub: str?
usbdevices: [{ usbdevices: [{
device: str?, device: str?,
use: bool? use: bool?
}] }]
preventconfig: bool preventconfig: bool
clientid: str?
manualhub: str?
stage: experimental stage: experimental
init: false init: false
@@ -1,8 +1,5 @@
#!/command/with-contenv bashio #!/command/with-contenv bashio
bashio::addon.option 'clientid'
bashio::addon.option 'manualhub'
options=$(bashio::api.supervisor GET "/addons/self/options/config") options=$(bashio::api.supervisor GET "/addons/self/options/config")
autofind=$(echo $options | jq '. | if .autofind then true else false end') autofind=$(echo $options | jq '. | if .autofind then true else false end')
autouse=$(echo $options | jq '. | if .autouse then true else false end') autouse=$(echo $options | jq '. | if .autouse then true else false end')