test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.281"
|
||||
version: "0.1.282"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
|
||||
@@ -8,7 +8,7 @@ for device in "${devices[@]}"; do
|
||||
if [ -z $options_usbdevices_device ]; then
|
||||
bashio::log.info "Adding to config: ${device}"
|
||||
options_updated=$(echo $options | jq --arg device "$device" '.usbdevices |= . + [{ device: ($device), use: false }]')
|
||||
bashio::log.debug "Options updated: ${options_updated}"
|
||||
bashio::log.info "Options updated: ${options_updated}"
|
||||
options_payload=$(echo $options_updated | jq -r '. = { options: . }')
|
||||
bashio::log.debug "Payload: ${options_payload}"
|
||||
bashio::api.supervisor POST "/addons/self/options" $(echo $options_updated | jq -r '. = { options: . }')
|
||||
|
||||
Reference in New Issue
Block a user