getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native support for Apple Silicon (arm64)

rakleed opened this issue · comments

commented

Could you please add native support for Apple Silicon (arm64) for macOS?

More: https://developer.apple.com/documentation/apple-silicon/porting-your-macos-apps-to-apple-silicon

+1

Why do you think systray is not natively supported for arm64?
All works for me building arm64 and amd64 binaries on M1 mac:

GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -o ./bin/app-macos-amd64
GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/app-macos-arm64

I've been compiling for m1 macs for nearly a year. Works fine.