mirror of
https://github.com/cjbassi/gotop.git
synced 2025-04-29 13:49:00 +08:00
Update README and download.sh
This commit is contained in:
parent
28bca3f397
commit
f959128281
@ -18,8 +18,7 @@ Only working and tested on Linux. OSX is no longer supported due to issues with
|
|||||||
|
|
||||||
### Using Git
|
### Using Git
|
||||||
|
|
||||||
Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux and ARM Linux in the [releases tab](https://github.com/cjbassi/gotop/releases).
|
Clone the repo then run [scripts/download.sh](https://github.com/cjbassi/gotop/blob/master/scripts/download.sh) to download the correct binary for you system from the release tab:
|
||||||
Clone the repo then run [scripts/download.sh](https://github.com/cjbassi/gotop/blob/master/scripts/download.sh) to download the correct binary for your system:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop
|
git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop
|
||||||
|
@ -20,7 +20,9 @@ case "$arch" in
|
|||||||
Linux\ *64) download linux_amd64 ;;
|
Linux\ *64) download linux_amd64 ;;
|
||||||
Linux\ *86) download linux_386 ;;
|
Linux\ *86) download linux_386 ;;
|
||||||
*)
|
*)
|
||||||
echo "No binary found for your system"
|
echo "\
|
||||||
|
No binary found for your system.
|
||||||
|
Feel free to request that we prebuild one that works on your system."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user