diff --git a/Hello World/config.json b/Hello World/config.json index 1f54759..0ddffb2 100644 --- a/Hello World/config.json +++ b/Hello World/config.json @@ -1,11 +1,15 @@ -{ - "name": "Hello world", - "version": "3", - "slug": "hello_world", - "description": "My first real add-on!", - "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], - "startup": "application", - "boot": "auto", - "options": {}, - "schema": {} -} \ No newline at end of file +{ + "name": "Hello world", + "version": "4", + "slug": "hello_world", + "description": "My first real add-on!", + "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], + "startup": "application", + "boot": "auto", + "options": { + "beer": "This is the new string, instead of Hello World!!!" + }, + "schema": { + "beer": "str" + }, +} diff --git a/Hello World/run.sh b/Hello World/run.sh index 8796461..84b0340 100644 --- a/Hello World/run.sh +++ b/Hello World/run.sh @@ -1,3 +1,5 @@ -#!/usr/bin/with-contenv bashio +#!/usr/bin/env bashio -echo Hello world! \ No newline at end of file +BEER=$(bashio::config 'beer') + +echo ${BEER} \ No newline at end of file