Last active
November 9, 2020 10:46
-
-
Save CSUwangj/f18ac9b06ac76effa3dca76876e21ac6 to your computer and use it in GitHub Desktop.
Revisions
-
CSUwangj revised this gist
Nov 9, 2020 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,9 @@ #!/bin/bash set -euo pipefail IFS=$'\n\t' # Download url is: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable curl -sSL "https://update.code.visualstudio.com/latest/server-linux-x64/stable" -o vscode-server-linux-x64.tar.gz mkdir -p ~/.vscode-server/bin/${commit_id} # assume that you upload vscode-server-linux-x64.tar.gz to /tmp dir -
CSUwangj created this gist
Oct 22, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash set -euo pipefail IFS=$'\n\t' commit_id=d2e414d9e4239a252d1ab117bd7067f125afd80a # Download url is: https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable curl -sSL "https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable" -o vscode-server-linux-x64.tar.gz mkdir -p ~/.vscode-server/bin/${commit_id} # assume that you upload vscode-server-linux-x64.tar.gz to /tmp dir tar zxvf vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1 touch ~/.vscode-server/bin/${commit_id}/0