From cb3ba0396e369993eae52b91680d5180b120dc4b Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Wed, 21 Feb 2018 02:37:29 -0800 Subject: [PATCH] Added Darwin 64bit to install --- README.md | 2 +- install.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 175f7e9..eed06ba 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/install.sh b/install.sh index 101bd77..2825e08 100755 --- a/install.sh +++ b/install.sh @@ -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