diff --git a/vhclient/config.yaml b/vhclient/config.yaml index b5f1eac..33e8d19 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.346" +version: "0.1.347" slug: vhclient description: VirtualHere Client arch: @@ -37,13 +37,13 @@ options: schema: autouse: bool autofind: bool - clientid: str? - manualhub: str? usbdevices: [{ device: str?, use: bool? }] preventconfig: bool + clientid: str? + manualhub: str? stage: experimental init: false diff --git a/vhclient/rootfs/etc/s6-overlay/scripts/init-config b/vhclient/rootfs/etc/s6-overlay/scripts/init-config index 0e0b08f..81779c9 100755 --- a/vhclient/rootfs/etc/s6-overlay/scripts/init-config +++ b/vhclient/rootfs/etc/s6-overlay/scripts/init-config @@ -1,8 +1,5 @@ #!/command/with-contenv bashio -bashio::addon.option 'clientid' -bashio::addon.option 'manualhub' - options=$(bashio::api.supervisor GET "/addons/self/options/config") autofind=$(echo $options | jq '. | if .autofind then true else false end') autouse=$(echo $options | jq '. | if .autouse then true else false end')