mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-19 04:18:11 -06:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
d84caeb8cf
|
|||
68e7aa99d8
|
@ -160,7 +160,7 @@ fi
|
|||||||
# Check if CLI directory exists and has content
|
# Check if CLI directory exists and has content
|
||||||
if [ -d "/home/${HOME_USER}/.vscode/cli" ] && [ "$(ls -A /home/${HOME_USER}/.vscode/cli 2>/dev/null)" ]; then
|
if [ -d "/home/${HOME_USER}/.vscode/cli" ] && [ "$(ls -A /home/${HOME_USER}/.vscode/cli 2>/dev/null)" ]; then
|
||||||
# CLI directory exists and has content, use restart
|
# CLI directory exists and has content, use restart
|
||||||
sudo su ${HOME_USER} -c "code tunnel restart"
|
sudo su ${HOME_USER} -c "code tunnel restart --cli-data-dir /home/${HOME_USER}/.vscode/cli"
|
||||||
else
|
else
|
||||||
# No CLI directory or empty, use normal startup
|
# No CLI directory or empty, use normal startup
|
||||||
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
|
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||||
|
@ -1 +1 @@
|
|||||||
3.2.0
|
3.2.2
|
||||||
|
Reference in New Issue
Block a user