Yash-Handa / logo-ls

Modern ls command with vscode like File Icon and Git Integrations. Written in Golang
MIT License
1.14k stars 43 forks source link

not clear what version should be used on M1 Mac #29

Open Buzzraider opened 3 years ago

Buzzraider commented 3 years ago

it's not clear what version of script should be used with M1 Macs.

ghifarit53 commented 2 years ago

Hi! I've tried the Intel build version (can be downloaded from releases) and it works just fine on the M1. Or if you want an arm64 native binary, you can build it yourself, but you'll need to have golang toolchain first

piejanssens commented 2 years ago

@ghifarit53 would generic arm64 builds work on Apple Silicon? @Yash-Handa It would be useful to have binaries (and correct arm64 bottles for Homebrew)

ghifarit53 commented 2 years ago

@piejanssens I'm not sure what do you mean by generic builds, if you mean the one from the releases, I don't think so since they're targetted towards ARM version of Linux (by looking at the file extensions, .deb for Debian-based and .rpm for Red Hat-based Linux). To get one for ARM Mac, you can build it yourself (I successfully built mine here)

Screen Shot 2022-02-17 at 3 18 11 PM
piejanssens commented 2 years ago

I meant to ask if an arm64 for Linux is compatible with Darwin, but I now understand that these are in fact not compatible. So if @Yash-Handa wants to support this in CI, we need separate linux-arm64 and darwin-arm64 builds.

piejanssens commented 2 years ago

Darwin arm64 logo-ls v1.3.7: logo-ls.zip