mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 20:08:13 -06:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
0fe46e635d
|
|||
d84caeb8cf
|
|||
68e7aa99d8
|
@ -159,8 +159,8 @@ 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 cli data
|
||||||
sudo su ${HOME_USER} -c "code tunnel restart"
|
sudo su ${HOME_USER} -c "code tunnel --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.3
|
||||||
|
Reference in New Issue
Block a user