Compare commits

...

3 Commits
3.0.1 ... 3.0.4

2 changed files with 6 additions and 4 deletions

View File

@ -9,9 +9,11 @@ if ! grep -q "HOME_USER=" /etc/environment; then
sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment" sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment"
fi fi
if [[ -n $VSCODE_TUNNEL_NAME ]] && ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
if ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then
sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment" sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment"
fi fi
fi
# List all environment variables # List all environment variables
sudo env | sudo env |
@ -108,7 +110,7 @@ else
echo "File extensions.json not found" echo "File extensions.json not found"
fi fi
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then if [[ -v VSCODE_TUNNEL_NAME && -z "${VSCODE_TUNNEL_NAME}" ]]; then
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
else else
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}" sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}"

View File

@ -1 +1 @@
3.0.1 3.0.4