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
d3f4156cbe
commit
6c91d6d9d2
2 changed files with 5 additions and 1 deletions
|
@ -5,8 +5,11 @@
|
|||
# Runs the code-server
|
||||
# ==============================================================================
|
||||
bashio::log.info 'Starting code-server...'
|
||||
parent_dir=$(dirname "$(readlink -f "$0")"
|
||||
echo "$parent_dir"
|
||||
)
|
||||
# shellcheck source=../paths.sh
|
||||
source "/etc/s6-overlay/s6-rc.d/paths.sh"
|
||||
source "$parent_dir/paths.sh"
|
||||
# Export env variables for the Home Assistant extension
|
||||
export HASS_SERVER="http://supervisor/core"
|
||||
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
bashio::log.info "Initalizing code-server configs"
|
||||
|
||||
parent_dir=$(dirname "$(readlink -f "$0")")
|
||||
echo "$parent_dir"
|
||||
# shellcheck source=../paths.sh
|
||||
source "$parent_dir/paths.sh"
|
||||
# List of previous config hashes, to allow upgrade "default" configs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue