Reduce the need to read the shell script to figure out what's going on (#14077)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-07-10 12:08:54 -06:00 committed by GitHub
parent 4434353f73
commit be5b7b2e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,10 @@
#!/usr/bin/env sh
set -eu
# Downloads the latest tarball from https://zed.dev/releases and unpacks it
# into ~/.local/. If you'd prefer to do this manually, instructions are at
# https://zed.dev/docs/linux.
main() {
platform="$(uname -s)"
arch="$(uname -m)"