diff --git a/entrypoint.sh b/entrypoint.sh index b7a818d..630948d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -110,8 +110,8 @@ else echo "File extensions.json not found" fi -if [[ -v VSCODE_TUNNEL_NAME && -z "${VSCODE_TUNNEL_NAME}" ]]; then - sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" -else +if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}" +else + sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" fi diff --git a/version.txt b/version.txt index b38ebbf..7da3c16 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.4 \ No newline at end of file +3.0.5 \ No newline at end of file