test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.53"
|
version: "0.1.54"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
@@ -32,7 +32,11 @@ kernel_modules: true
|
|||||||
options:
|
options:
|
||||||
clientid: "vhclient"
|
clientid: "vhclient"
|
||||||
autofind: false
|
autofind: false
|
||||||
usbdevices: []
|
usbdevices:
|
||||||
|
- name: one
|
||||||
|
bool: false
|
||||||
|
- name: two
|
||||||
|
bool: false
|
||||||
schema:
|
schema:
|
||||||
clientid: str?
|
clientid: str?
|
||||||
autofind: bool
|
autofind: bool
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ 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=($(bashio::config 'my_array'))
|
||||||
my_array+=('one') # Add a new item to the array
|
#my_array+=('one') # Add a new item to the array
|
||||||
#my_array+=({ 'name': 'one', 'use': false}) # 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