diff --git a/vscode-web/main.tf b/vscode-web/main.tf index 72d59c5..c9d5682 100644 --- a/vscode-web/main.tf +++ b/vscode-web/main.tf @@ -105,7 +105,7 @@ variable "offline" { variable "use_cached" { type = bool - description = "Uses cached copy code-server in the background, otherwise fetched it from GitHub" + description = "Uses cached copy VS Code Web in the background, otherwise fetched it from GitHub" default = false } @@ -117,7 +117,7 @@ variable "extensions_dir" { variable "auto_install_extensions" { type = bool - description = "Automatically install recommended extensions when code-server starts." + description = "Automatically install recommended extensions when VS Code Web starts." default = false } diff --git a/vscode-web/run.sh b/vscode-web/run.sh index 57f4d65..dc29f44 100755 --- a/vscode-web/run.sh +++ b/vscode-web/run.sh @@ -23,15 +23,15 @@ if [ ! -f ~/.vscode-server/data/Machine/settings.json ]; then echo "${SETTINGS}" > ~/.vscode-server/data/Machine/settings.json fi -# Check if code-server is already installed for offline or cached mode +# Check if vscode-server is already installed for offline or cached mode if [ -f "$VSCODE_SERVER" ]; then if [ "${OFFLINE}" = true ] || [ "${USE_CACHED}" = true ]; then - echo "🥳 Found a copy of code-server" + echo "🥳 Found a copy of VS Code Web" run_code_server exit 0 fi fi -# Offline mode always expects a copy of code-server to be present +# Offline mode always expects a copy of vscode-server to be present if [ "${OFFLINE}" = true ]; then echo "Failed to find a copy of code-server" exit 1