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
15a9a76f70
commit
d3f4156cbe
2 changed files with 4 additions and 2 deletions
|
@ -22,8 +22,9 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
|
|||
dbe905f0935b2fea8bb5ba379bff78db9d056ea6d0965c68aa9b07938a52cbbf117186452b2b6c766aa4cf93cc3494ad91b763e8500e515e41d8cde31a3821ae
|
||||
2212babaa9dc46d38ba239052c9c05151abe517cc8b493d0d351a96bf70c1efa4f7479f6ed0b75811429ba649906eb5657d73b0732b460e718a5c66603dcdbda
|
||||
)
|
||||
parent_dir=$(dirname "$(readlink -f "$0")")
|
||||
# shellcheck source=../paths.sh
|
||||
source "/etc/s6-overlay/s6-rc.d/paths.sh"
|
||||
source "$parent_dir/paths.sh"
|
||||
CODE_SERVER_CONFIG="$DEFAULT_CONFIG_PATH/config.yaml"
|
||||
|
||||
run() {
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
# ==============================================================================
|
||||
bashio::log.info "Initalizing code-server configs"
|
||||
|
||||
parent_dir=$(dirname "$(readlink -f "$0")")
|
||||
# shellcheck source=../paths.sh
|
||||
source "/etc/s6-overlay/s6-rc.d/paths.sh"
|
||||
source "$parent_dir/paths.sh"
|
||||
# List of previous config hashes, to allow upgrade "default" configs.
|
||||
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/custom"
|
||||
readonly DEFAULT_FILES_PATH="/var/lib/code-server/defaults/core"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue