#!/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