Skip to content

Instantly share code, notes, and snippets.

@xslr
xslr / update_vscode.sh
Last active October 10, 2020 19:54 — forked from justF-2077/update_vscode.sh
Automatically updates Visual Studio Code by downloading the latest version and replacing the currently installed version with it.
CODE_URL="https://update.code.visualstudio.com/latest/linux-x64/stable"
error_code=0
cd $HOME/Apps
function inform_user() {
echo "$1"
notify-send "$1" || true
}