aboutsummaryrefslogtreecommitdiff
path: root/src/desktop-lite
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop-lite')
-rw-r--r--src/desktop-lite/devcontainer-feature.json10
-rwxr-xr-xsrc/desktop-lite/install.sh8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/desktop-lite/devcontainer-feature.json b/src/desktop-lite/devcontainer-feature.json
index 3ac9ab8..7d5e6b8 100644
--- a/src/desktop-lite/devcontainer-feature.json
+++ b/src/desktop-lite/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "desktop-lite",
- "version": "1.0.0",
+ "version": "1.0.1",
"name": "Light-weight Desktop",
"description": "Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically.",
"options": {
@@ -12,7 +12,7 @@
"default": "latest",
"description": "Currently Unused!"
},
- "novnc_version": {
+ "noVncVersion": {
"type": "string",
"proposals": [
"1.2.0"
@@ -20,7 +20,7 @@
"default": "1.2.0",
"description": "NoVnc Version"
},
- "vnc_password": {
+ "password": {
"type": "string",
"proposals": [
"vscode",
@@ -30,7 +30,7 @@
"default": "vscode",
"description": "Enter a password for desktop connections"
},
- "novnc_port": {
+ "webPort": {
"type": "string",
"proposals": [
"6080"
@@ -38,7 +38,7 @@
"default": "6080",
"description": "Enter a port for the VNC web client"
},
- "vnc_port": {
+ "vncPort": {
"type": "string",
"proposals": [
"5901"
diff --git a/src/desktop-lite/install.sh b/src/desktop-lite/install.sh
index e9f74f1..806a7e1 100755
--- a/src/desktop-lite/install.sh
+++ b/src/desktop-lite/install.sh
@@ -7,10 +7,10 @@
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md
# Maintainer: The VS Code and Codespaces Teams
-NOVNC_VERSION=${NOVNC_VERSION:-"1.2.0"} # TODO: Add in a 'latest' auto-detect and swap name to 'version'
-VNC_PASSWORD=${VNC_PASSWORD:-"vscode"}
-NOVNC_PORT="${NOVNC_PORT:-6080}"
-VNC_PORT="${VNC_PORT:-5901}"
+NOVNC_VERSION=${NOVNCVERSION:-"1.2.0"} # TODO: Add in a 'latest' auto-detect and swap name to 'version'
+VNC_PASSWORD=${PASSWORD:-"vscode"}
+NOVNC_PORT="${WEBPORT:-6080}"
+VNC_PORT="${VNCPORT:-5901}"
INSTALL_NOVNC=${INSTALL_NOVNC:-"true"}
USERNAME=${USERNAME:-"automatic"}