crhuber / kelp

A simple alternative to homebrew for installing binary packages on MacOS written in Go.
35 stars 2 forks source link

darwin arm64 issue #9

Closed tnxz closed 1 year ago

tnxz commented 1 year ago

on darwin arm64 amd has higher score

$ kelp install kelp

===> Installing crhuber/kelp:latest ...
Fetching info about crhuber/kelp:latest ...
Finding mac assets to download...

Found suitable candiate kelp_1.8.0_darwin_amd64.tar.gz for download. Score: 9
Found suitable candiate kelp_1.8.0_darwin_arm64.tar.gz for download. Score: 6
Adding highest ranked asset kelp_1.8.0_darwin_amd64.tar.gz to download queue.
Downloading https://github.com/crhuber/kelp/releases/download/v1.8.0/kelp_1.8.0_darwin_amd64.tar.gz ...
To: /Users/zoro/.kelp/cache/kelp_1.8.0_darwin_amd64.tar.gz ... 
Downloading 100% |███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (4.0/4.0 MB, 1.782 MB/s)        

Extracting /Users/zoro/.kelp/cache/kelp_1.8.0_darwin_amd64.tar.gz
Checking for binary files...
Binary file found in extract.

Copying kelp to kelp bin...
✅ Installed kelp !%
crhuber commented 1 year ago

What machine are you using ? Which type of cpu ?

tnxz commented 1 year ago

mac m1

crhuber commented 1 year ago

on kelp version 1.8.0

I get

===> Installing crhuber/kelp:latest ...
Fetching info about crhuber/kelp:latest ...
Finding mac assets to download...

Found suitable candiate kelp_1.8.0_darwin_amd64.tar.gz for download. Score: 6
Found suitable candiate kelp_1.8.0_darwin_arm64.tar.gz for download. Score: 9
Adding highest ranked asset kelp_1.8.0_darwin_arm64.tar.gz to download queue.
File kelp_1.8.0_darwin_arm64.tar.gz already exists in cache, skipping download.
Extracting /Users/cr/.kelp/cache/kelp_1.8.0_darwin_arm64.tar.gz
Checking for binary files...
Binary file found in extract.

Copying kelp to kelp bin...
✅ Installed kelp !⏎       
tnxz commented 1 year ago

seems to work fine now but not sure why i got the earlier issue