Trying to fix issue. updating to version 2.0.15

This commit is contained in:
Alejandro Lembke Barrientos 2024-03-30 01:28:33 +00:00
parent b3609b3d0b
commit 6525dc4c7e
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 11 additions and 5 deletions

View File

@ -75,8 +75,14 @@ else
echo "File extensions.json not found" echo "File extensions.json not found"
fi fi
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then # Allow users to have scripts run on container startup to prepare workspace.
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" # https://github.com/coder/code-server/issues/5177
else if [ -d "${ENTRYPOINTD}" ]; then
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}" find "${ENTRYPOINTD}" -type f -executable -print -exec {} \;
fi
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
exec dumb-init sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms $@"
else
exec dumb-init sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME} $@"
fi fi

View File

@ -1 +1 @@
2.0.14 2.0.15