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
df34520083
commit
68f65e7e8a
1 changed files with 15 additions and 11 deletions
|
@ -43,6 +43,7 @@ run() {
|
|||
setup_clean_view() {
|
||||
# Links some common directories to the user's home folder for convenience
|
||||
for dir in "${DIRECTORIES[@]}"; do
|
||||
if [ -e "${dir}" ]; then
|
||||
current="${CODE_SERVER_WORKSPACE_DIR}"/"${dir}"
|
||||
|
||||
if [ ! -e "${current}" ]; then
|
||||
|
@ -57,6 +58,9 @@ setup_clean_view() {
|
|||
else
|
||||
bashio::log.info "${dir} has good link."
|
||||
fi
|
||||
else
|
||||
bashio::log.warning "${dir} does not exist, cannot link..."
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! -d "${CODE_SERVER_WORKSPACE_DIR}"/code-server-config ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue