git-time-metric / gtm

Simple, seamless, lightweight time tracking for Git
MIT License
973 stars 52 forks source link

GTM homebrew package does not support apple silicon #115

Open aesca1er opened 2 years ago

aesca1er commented 2 years ago

GTM installed from homebrew on macOS results in

gtm 09:18:14 AM zsh: bad CPU type in executable: gtm

file $(which gtm) 09:18:19 AM /opt/homebrew/bin/gtm: Mach-O 64-bit executable x86_64

obviously on an m1 Mac this is going to be a nonstarter.

SushritPasupuleti commented 1 year ago

Somehow it works on my M1 Mini. Have you tried toggling rosetta ?

aesca1er commented 1 year ago

Somehow it works on my M1 Mini. Have you tried toggling rosetta ?

Haven't used rosetta before but it seems it works. I'm not a Mac guru, I just use one for work.

That said, probably a good idea to create an m1 build, given Apple is sunsetting Intel based macs.