update install-extension helper

This commit is contained in:
aptalca 2022-02-12 16:20:12 -05:00
parent 484250da46
commit 3abbffabec
6 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \

View File

@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \

View File

@ -17,7 +17,6 @@ RUN \
git \
jq \
libatomic1 \
libsecret-1-0 \
nano \
net-tools \
sudo && \

View File

@ -252,6 +252,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **12.02.22:** - Update `install-extension` helper to compensate for upstream changes.
* **04.02.22:** - Update binary for 1.64.0+. Allow for no token set when both toekn env vars are unset. Add libsecret for keytar.
* **29.12.21:** - Add `install-extension` as a helper for mods to install extensions.
* **30.11.21:** - Fix app folder permissions, add the optional sudo password vars.

View File

@ -62,6 +62,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "12.02.22:", desc: "Update `install-extension` helper to compensate for upstream changes." }
- { date: "04.02.22:", desc: "Update binary for 1.64.0+. Allow for no token set when both toekn env vars are unset. Add libsecret for keytar." }
- { date: "29.12.21:", desc: "Add `install-extension` as a helper for mods to install extensions." }
- { date: "30.11.21:", desc: "Fix app folder permissions, add the optional sudo password vars." }

View File

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
_install=(/app/openvscode-server/bin/openvscode-server "--extensions-dir" "/config/.vscode-remote/extensions" "--install-extension")
_install=(/app/openvscode-server/bin/openvscode-server "--install-extension")
if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"