test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.53"
|
||||
version: "0.1.54"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
@@ -32,7 +32,11 @@ kernel_modules: true
|
||||
options:
|
||||
clientid: "vhclient"
|
||||
autofind: false
|
||||
usbdevices: []
|
||||
usbdevices:
|
||||
- name: one
|
||||
bool: false
|
||||
- name: two
|
||||
bool: false
|
||||
schema:
|
||||
clientid: str?
|
||||
autofind: bool
|
||||
|
||||
@@ -6,7 +6,7 @@ fi
|
||||
|
||||
#TEST
|
||||
#bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false}
|
||||
my_array=($(bashio::config 'my_array'))
|
||||
my_array+=('one') # Add a new item to the array
|
||||
#my_array=($(bashio::config 'my_array'))
|
||||
#my_array+=('one') # Add a new item to the array
|
||||
#my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
|
||||
bashio::config::update 'my_array' "${my_array[@]}"
|
||||
#bashio::config::update 'my_array' "${my_array[@]}"
|
||||
|
||||
Reference in New Issue
Block a user