Added Darwin 64bit to install

This commit is contained in:
Caleb Bassi 2018-02-21 02:37:29 -08:00
parent 4c19aabcd4
commit cb3ba0396e
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/
### Binaries
Binaries are currently available for 32bit and 64bit Linux and OSX.
Binaries are currently available for 32/64bit Linux and 64bit OSX.
To download the latest binary for your OS into `/usr/bin`, you can run the [install](https://github.com/cjbassi/gotop/blob/master/install.sh) script:

View File

@ -27,8 +27,9 @@ update() {
arch=$(uname -sm)
case "$arch" in
Linux\ *64) install linux_amd64 ;;
Linux\ *86) install linux_386 ;;
Linux\ *64) install linux_amd64 ;;
Linux\ *86) install linux_386 ;;
Darwin\ *64) install darwin_amd64 ;;
*)
print_error
exit 1