vscode fix

This commit is contained in:
Anthony Axenov 2024-11-22 14:43:22 +08:00
parent 3249c32cb2
commit beeb59b1aa
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

@ -6,13 +6,13 @@ title
mkdir -p "$HOME/install" mkdir -p "$HOME/install"
download "https://code.visualstudio.com/docs/?dv=linux64_deb" \ download "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" \
"$HOME/install/vscode.deb" && \ "$HOME/install/vscode.deb" && \
sudo dpkg -i "$HOME/install/vscode.deb" sudo dpkg -i "$HOME/install/vscode.deb"
[ $? = 0 ] && { [ $? = 0 ] && {
echo echo
success "VSCode installed" success "VSCode installed"
vscode --version code --version
echo echo
} }