getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
3.28k stars 451 forks source link

Native support for Apple Silicon (arm64) #243

Open rakleed opened 1 year ago

rakleed commented 1 year ago

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

jdelrue commented 1 year ago

+1

MathiasDeWeerdt commented 1 year ago

+1

dsaiko commented 1 year ago

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

davidnewhall commented 1 year ago

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