Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
add x86_64 check in downloadScript
Browse files Browse the repository at this point in the history
  • Loading branch information
deansheather committed May 27, 2019
1 parent f8ccd3a commit ff04977
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sshcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ func downloadScript(codeServerPath string) string {
return fmt.Sprintf(
`set -euxo pipefail || exit 1
[ "$(uname -m)" != "x86_64" ] && echo "Unsupported server architecture $(uname -m). code-server only has releases for x86_64 systems." && exit 1
pkill -f %v || true
mkdir -p ~/.local/share/code-server %v
cd %v
Expand Down

0 comments on commit ff04977

Please sign in to comment.