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