-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Get rid of separate binaries (install step) for scripting addition #1287
Comments
Obviously I forgot that it isn't actually all that simple:
The yabai binary links with Cocoa.framework which leads us straight back to the issue that was worked around years ago (by making sure the payload does not link to Cocoa/AppKit in the first place):
I assume that whatever functionality yabai uses can be linked dynamically at runtime instead to avoid this, but maybe there are better ways to handle this situation and achieve the same goal. |
It may be more realistic at this point to have The reason it does not do this at the moment is that I like the fact that there is full transparency; any change to the users filesystem is something that they have explicitly decided to do -- not something that is done by simply running the software. |
I am thinking of removing support for older versions of macOS later this year, when macOS 13 is released. The new supported versions would be 11 (Big Sur), 12 (Monterey) and 13.
This would allow me to remove the need for users to manually install the scripting addition every time yabai is updated.
The code for the scripting-addition could just be loaded directly out of the yabai binary.
There appears to be one caveat as of now; the binary would have to consist of an x86_64 image and an arm64e image.
The issue is that arm64e is still in preview mode for non-Apple signed binaries, complicating the setup for users that wish to run yabai without the scripting addition, as they would probably not want to (or do not have permissions to) change the boot-args.
The text was updated successfully, but these errors were encountered: