From 8676e1bcb3926c3975cc4be8cbe12d7c8a264924 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 29 Aug 2023 18:31:12 +0000 Subject: [PATCH] Trying to fix the instalation of extensions. Updating to version 1.0.22 --- entrypoint.sh | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5631957..effc264 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,7 +12,7 @@ sudo mkdir /home/${HOME_USER}/.config/Code sudo chmod -R a+rwX /home/${HOME_USER}/.config/Code sudo mkdir /home/${HOME_USER}/.vscode-server sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server -code --extensions-dir /home/${HOME_USER}/.vscode-server +sudo su - ${HOME_USER} -c "code --extensions-dir /home/${HOME_USER}/.vscode-server" # Check if the data.json file exists if [ -f "/home/extensions.json" ]; then diff --git a/version.txt b/version.txt index ace256e..2fa3901 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.21 \ No newline at end of file +1.0.22 \ No newline at end of file