shell/install/vscode

19 lines
373 B
Plaintext
Raw Normal View History

2024-11-22 01:41:05 +00:00
#!/bin/bash
##makedesc: VSCode deb-package
source `dirname $0`/../helpers || exit 255
title
mkdir -p "$HOME/install"
2024-11-22 06:43:22 +00:00
download "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" \
2024-11-22 01:41:05 +00:00
"$HOME/install/vscode.deb" && \
sudo dpkg -i "$HOME/install/vscode.deb"
[ $? = 0 ] && {
echo
success "VSCode installed"
2024-11-22 06:43:22 +00:00
code --version
2024-11-22 01:41:05 +00:00
echo
}