automatic-mouse-mover icon indicating copy to clipboard operation
automatic-mouse-mover copied to clipboard

Apple Silicon m1 version

Open paoloestar opened this issue 2 years ago • 12 comments

Hey prashanta, very good and efficient piece of software thanks a lot!

have seen (after buying a new MacBook) that it still runs rosetta emulated as intel application. Any plans to make a universal app? Thanks!

paoloestar avatar Jul 04 '22 14:07 paoloestar

Thanks for the kind words @paoloestar! No plans as of now, contributions are more than welcome!

prashantgupta24 avatar Jul 05 '22 18:07 prashantgupta24

With the release of Go, [version 1.16] Apple Silicon is supported out-of-the-box with support for cgo, internal and external linking. https://tip.golang.org/doc/go1.16

By looking at your go.yml file, you're already on Go 1.17. which means you should be able to build for arm (GOOS=darwin, GOARCH=arm64).

If you don't mind to build it real quick and upload it, that would be awesome!

Thank you very much! ❤️

longgiangp avatar Oct 18 '22 11:10 longgiangp

Hi @longgiangp , unfortunately the robotgo library on which AMM is based has issues with arm64 builds. Perhaps their latest version supports it, I am using an older version.

FYI I I have been running this on an M1 for quite some time now, rosetta makes it a seamless experience.

prashantgupta24 avatar Oct 26 '22 17:10 prashantgupta24

@prashantgupta24 I am on M1 mac and I updated all dependencies, after which it worked. go get -u ./...

cnpog avatar Oct 27 '22 11:10 cnpog

good to hear that it works as a native app. Would be great if you could share the build

@prashantgupta24 does this enable you to update your code?

paoloestar avatar Dec 14 '22 08:12 paoloestar

I honestly am not able to find the time to get this done, if someone submits a PR for it, would highly appreciate it!

prashantgupta24 avatar Dec 22 '22 18:12 prashantgupta24

This PR : https://github.com/prashantgupta24/automatic-mouse-mover/pull/45 should help, because I'm able to compile/use it on my silicon M2 Pro.

Resousse avatar Aug 28 '23 14:08 Resousse

@paoloestar , please try the latest release and let me know

Resousse avatar Oct 14 '23 12:10 Resousse

It may work building from source, but the "amm.x86.zip" in Releases doesn't work on apple silicon, or at least I get this error when I right click>Open "“amm” cannot be opened because the developer cannot be verified.".

It would be awesome if we could get an apple silicon build in Releases :)

nighthawk469 avatar Nov 06 '23 22:11 nighthawk469

@nighthawk469 the developer cannot be verified error is because it's not notarized by apple. If you right click on the .app and choose Open, it will work.

That being said, I will get an apple silicon build in the releases soon!

prashantgupta24 avatar Nov 07 '23 00:11 prashantgupta24

I did try right clicking but still I got the same message. I saw this same issue with Alacritty. Something about macos quarantine. https://github.com/alacritty/alacritty/issues/4673#issuecomment-771291615

nighthawk469 avatar Nov 07 '23 02:11 nighthawk469