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