mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
1abe78e0d8
commit
bb37cb1323
2 changed files with 1 additions and 4 deletions
|
@ -15,6 +15,5 @@ source "$parent_path/paths.sh"
|
||||||
export HASS_SERVER="http://supervisor/core"
|
export HASS_SERVER="http://supervisor/core"
|
||||||
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
|
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
|
||||||
|
|
||||||
|
|
||||||
# Run the code server
|
# Run the code server
|
||||||
exec code-server "$CODE_SERVER_WORKSPACE_FILE"
|
exec code-server "$CODE_SERVER_WORKSPACE_FILE"
|
||||||
|
|
|
@ -6,10 +6,8 @@
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
bashio::log.info "Initalizing code-server configs"
|
bashio::log.info "Initalizing code-server configs"
|
||||||
|
|
||||||
caller_dir=$(dirname "$(readlink -f "$0")")
|
|
||||||
parent_path=../../$caller_dir
|
|
||||||
# shellcheck source=../paths.sh
|
# shellcheck source=../paths.sh
|
||||||
source "$parent_path/paths.sh"
|
source "/etc/s6-overlay/s6-rc.d/init/paths.sh"
|
||||||
|
|
||||||
# List of previous config hashes, to allow upgrade "default" configs.
|
# List of previous config hashes, to allow upgrade "default" configs.
|
||||||
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/custom"
|
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/custom"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue