shell/install/vscode
2024-11-22 09:41:05 +08:00

19 lines
353 B
Bash
Executable File

#!/bin/bash
##makedesc: VSCode deb-package
source `dirname $0`/../helpers || exit 255
title
mkdir -p "$HOME/install"
download "https://code.visualstudio.com/docs/?dv=linux64_deb" \
"$HOME/install/vscode.deb" && \
sudo dpkg -i "$HOME/install/vscode.deb"
[ $? = 0 ] && {
echo
success "VSCode installed"
vscode --version
echo
}