Atualizar lab-redes/conf-runonsave.sh

This commit is contained in:
Jurandy Soares 2025-02-04 22:46:31 +00:00
parent 9e59e8a1af
commit 98f6c74f6e
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
rm -rf ~/.config/Code/ ~/.vscode/
extensoes=(
emeraldwalk.runonsave
ms-python.debugpy
@ -19,9 +22,10 @@ cat <<EOF > ~/.config/Code/User/settings.json
}
EOF
cd /tmp && \
mkdir "/tmp/${USER}" &&
cd "/tmp/${USER}" && \
curl -O https://gilito.com.pt/ci/emeraldwalk.runonsave-0.2.7.zip && \
unzip -o emeraldwalk.runonsave-0.2.7.zip && \
cd ~/.vscode/extensions/ && \
rm -rf emeraldwalk.runonsave-0.2.7 && \
mv /tmp/emeraldwalk.runonsave-0.2.7 .
mv "/tmp/${USER}emeraldwalk.runonsave-0.2.7" .