diff --git a/entrypoint.sh b/entrypoint.sh index 13abe43..3fff8b0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,11 +33,19 @@ fi #Creating extensions folder -sudo mkdir /home/${HOME_USER}/.config/Code +if [ ! -d "/home/${HOME_USER}/.config/Code" ]; then + sudo mkdir -p /home/${HOME_USER}/.config/Code +fi sudo chmod -R a+rwX /home/${HOME_USER}/.config/Code -sudo mkdir /home/${HOME_USER}/.vscode-server + +if [ ! -d "/home/${HOME_USER}/.vscode-server" ]; then + sudo mkdir -p /home/${HOME_USER}/.vscode-server +fi sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server -sudo mkdir /home/${HOME_USER}/.vscode-server-insiders + +if [ ! -d "/home/${HOME_USER}/.vscode-server-insiders" ]; then + sudo mkdir -p /home/${HOME_USER}/.vscode-server-insiders +fi sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders # Check if the data.json file exists diff --git a/version.txt b/version.txt index fee3c92..da37822 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.10 \ No newline at end of file +2.0.11 \ No newline at end of file