visual-studio-code-bin/visual-studio-code-bin-autoupdate

6 lines
264 B
Bash

#!/bin/bash
VERSION=$1
[ "${VERSION}" ] || exit 1
curl -L "https://update.code.visualstudio.com/${VERSION}/linux-x64/stable" -o code_x64_${VERSION}.tar.gz
curl -L "https://update.code.visualstudio.com/${VERSION}/linux-arm64/stable" -o code_arm64_${VERSION}.tar.gz