This commit is contained in:
Hans Karlinius
2024-11-25 06:32:20 +01:00
parent 39d0b92493
commit f653188cc9
2 changed files with 5 additions and 2 deletions

View File

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

View File

@@ -5,4 +5,7 @@ if bashio::config.has_value 'clientid'; then
fi fi
#TEST #TEST
bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false} #bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false}
my_array=($(bashio::config 'my_array'))
my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
bashio::config::update 'my_array' "${my_array[@]}"