coder / sshcode

Run VS Code on any server over SSH.
MIT License
5.74k stars 216 forks source link

Add --code-server-version flag #141

Closed deansheather closed 4 years ago

deansheather commented 4 years ago

Defaults to latest-preview for now. Allows users to change which code-server release to download.

Changed downloads to use https://codesrv-ci.cdr.sh/releases/$release/linux-x86_64/code-server.

Add last-version file in download script to keep track of which version is cached, otherwise changing versions might result in them not being downloaded (as curl thinks it's up to date).

kylecarbs commented 4 years ago

Good flag to add :confetti_ball:

deansheather commented 4 years ago

I'll make a PR that updates code-server to use v2 later, this flag is unnecessary.