-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
loader quit unexpectedly on macOS 15.0 (Sequoia) #2331
Comments
Try to do a full uninstall and try to install the latest commit (ae02b27) from the master branch, using the instructions in the wiki: https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD) |
Ok nice, that means injection still works, just the regular offset patching that needs to be done. Hopefully this does not change in future updates. |
Is there anything I can do to make it works with macOS 15? |
If you upload Dock.app I can look at it without having to get an installation up myself. |
@koekeishiya After the latest patch I manage to inject script without any error notification. Here's is what I can immediately see works:
Here's what not
Here's my Dock.app → Google Drive Edit: BTW this's the best news I have heard this week
|
If it helps speed things along, I think the only wrong offset in this arm payload file is dock spaces -- I get 0x7E now instead of 0x0. I've never done such a thing before, I just read a very old guide (circa 4.0.0) on how to set up Ghidra and gave it the old college try. |
Thanks. I'll probably take a look at it sometime this weekend. |
Oh, I noticed that in that file I uploaded I made a mistake and had |
The scripting addition should be working on Beta 1 now. Will require further tweaking for upcoming betas. |
Whoa, that was quick. Y'all are truly a legend. |
In macOS Sequoia, SIP must be disabled to be able to move windows between spaces. |
I tried to reinstall, then uninstall/install to be sure to get the latest things and still have the following popup when I try to yabai scripting-addition Here is the full commands
-> popup yabai scripting-addition - payload (0x0) doesn't support this macOS version! |
try |
Indeed, uninstall and load works (I see the flash) Now I cannot switch space so I imagine the load-sa wasn't really good. ❯ yabai -m space --focus next |
I noticed that too. But I believe this is simply not implemented yet. As When I try adding it and test it myself, Dock.app just crash whenever I try to switch spaces. So I think there's some more work to do |
Just tested the last commit, now I have this popup when I run yabai scripting-addition |
Here's log from
|
Can you post the Dock crash log (from Console.app). |
|
|
The offsets are fine, but it appears some of the datastructures have changes. (Previously Dock.Spaces has been renamed to Spaces, and likely some minor changes that we need to adapt to). |
Should be working now. (Adjustments likely required for second beta). |
Everything working for me after reinstalling. Thank you so much! |
Works fine here too! thanks for your work @koekeishiya! |
Ok, I understand that on each new macOS version, @koekeishiya has to find a way to inject the code.
I don't know if in this version, it's just a payload that need to be updated or if Apple fixed the way to inject code.
In any case, tell me if I can help.
I disabled SIP, Try lot of things and I'm blocked.
When I launch
sudo yabai --load-sa
, I get:yabai: scripting-addition failed to inject payload into Dock.app!
With a popup alert saying:
The document “yabai.osax” could not be opened. Script Editor cannot open files in the “Scripting addition” format.
I wonder if it's because yabai is not compatible with the macos 15.0 beta?
I also got an alert
loader quit unexpectedly.
with those logs:The text was updated successfully, but these errors were encountered: