mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 02:31:34 +00:00
devenv
This commit is contained in:
parent
b30873fae2
commit
1abe78e0d8
2 changed files with 4 additions and 2 deletions
|
@ -7,8 +7,9 @@
|
|||
bashio::log.info 'Starting code-server...'
|
||||
|
||||
caller_dir=$(dirname "$(readlink -f "$0")")
|
||||
parent_path=../$caller_dir
|
||||
# shellcheck source=../paths.sh
|
||||
source "../$caller_dir/paths.sh"
|
||||
source "$parent_path/paths.sh"
|
||||
|
||||
# Export env variables for the Home Assistant extension
|
||||
export HASS_SERVER="http://supervisor/core"
|
||||
|
|
|
@ -7,8 +7,9 @@
|
|||
bashio::log.info "Initalizing code-server configs"
|
||||
|
||||
caller_dir=$(dirname "$(readlink -f "$0")")
|
||||
parent_path=../../$caller_dir
|
||||
# shellcheck source=../paths.sh
|
||||
source "../$caller_dir/paths.sh"
|
||||
source "$parent_path/paths.sh"
|
||||
|
||||
# List of previous config hashes, to allow upgrade "default" configs.
|
||||
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/custom"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue