This commit is contained in:
Hans Karlinius
2024-12-04 04:12:52 +01:00
parent 6e962aca55
commit def10e43a5
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client name: VirtualHere Client
version: "0.1.358" version: "0.1.359"
slug: vhclient slug: vhclient
description: VirtualHere Client description: VirtualHere Client
arch: arch:

View File

@@ -1,5 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
preventconfig=bashio::cache.get preventconfig
bashio::log.info "GURKA ${preventconfig}"
if bashio::config.has_value 'usbdevices'; then if bashio::config.has_value 'usbdevices'; then
options=$(bashio::api.supervisor GET "/addons/self/options/config") options=$(bashio::api.supervisor GET "/addons/self/options/config")
usbdevices_json=$(echo $options | jq -c '.usbdevices[]') usbdevices_json=$(echo $options | jq -c '.usbdevices[]')