-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's a version that works on OSX #15
Comments
did you get this working on an apple silicon mac? I used chatgpt to come up with the compile command, unsurprisingly it failed
|
Yes, it will work fine on M1 (although sometimes you have to try several times before it finds the device, not sure why. Seems like a monterey bug). Due to a change in getopt implementation, you need to change the getopt short_opt to
(add colon after Also the compile command you gave is not quite enough, you also need linker flags But it should also be possible to avoid the need for bundle by doing like https://stackoverflow.com/questions/8137538/cocoa-applications-from-the-command-line and manually or https://gist.github.com/karstenBriksoft/2bfe71e97e9b3ae1edd5bf4c37d55ecb and manually creating |
Thanks for all the work in reverse-engineering this! Here's a version that that works with osx/macos, basically using cocoa apis to replay the bytes you reverse-engineered. The code is pretty ugly and there's no error handling (I have no idea what the
ack
sequences you used are for, but it seems to work fine without it). Link to IOKit and Foundation when compiling.The text was updated successfully, but these errors were encountered: