Trying to fix the instalation of extensions. Updating to version 1.0.22

This commit is contained in:
Alejandro Lembke Barrientos 2023-08-29 19:39:54 +00:00
parent 8676e1bcb3
commit f5a6331fd3
2 changed files with 8 additions and 9 deletions

View File

@ -12,7 +12,8 @@ sudo mkdir /home/${HOME_USER}/.config/Code
sudo chmod -R a+rwX /home/${HOME_USER}/.config/Code sudo chmod -R a+rwX /home/${HOME_USER}/.config/Code
sudo mkdir /home/${HOME_USER}/.vscode-server sudo mkdir /home/${HOME_USER}/.vscode-server
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server
sudo su - ${HOME_USER} -c "code --extensions-dir /home/${HOME_USER}/.vscode-server" sudo mkdir /home/${HOME_USER}/.vscode-server-insiders
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders
# Check if the data.json file exists # Check if the data.json file exists
if [ -f "/home/extensions.json" ]; then if [ -f "/home/extensions.json" ]; then
@ -27,13 +28,11 @@ if [ -f "/home/extensions.json" ]; then
echo "Installing extension: $extension" echo "Installing extension: $extension"
sudo su - ${HOME_USER} -c "code --install-extension $extension" sudo su - ${HOME_USER} -c "code --install-extension $extension"
done done
#sudo mkdir /home/${HOME_USER}/.vscode-server sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}/.vscode-server
#sudo mkdir /home/${HOME_USER}/.vscode-server-insiders sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}.vscode-server-insiders
#sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}/.vscode-server sudo chmod -R a+rwX /home/${HOME_USER}/.vscode
#sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}.vscode-server-insiders sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server
#sudo chmod -R a+rwX /home/${HOME_USER}/.vscode sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders
#sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server
#sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders
else else
echo "File extensions.json not found" echo "File extensions.json not found"
fi fi

View File

@ -1 +1 @@
1.0.22 1.0.23