Skip to content

feat(extendify-native): macos support - #21

Merged
wynjamin merged 4 commits into
extendify-mod:masterfrom
gBasil:macos
Oct 25, 2026
Merged

wynjamin merged 4 commits into
extendify-mod:masterfrom
gBasil:macos

Conversation

@gBasil

@gBasil gBasil commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Note that I haven't tested Intel support. Also, some form of persistence would be nice, probably through inserting a LC_LOAD_DYLIB command into the Spotify binary, but I don't know how frequently (or even if at all) the native Spotify binaries update, so I opted not to.

@wynjamin

Copy link
Copy Markdown
Member

holy goat I was literally working on this exact implementation but I couldn't get past the hardened runtime bc I didn't know that's how it worked. tysm I will test this!!!

I recently switched to a macbook and I haven't been on my pc much so I wasn't able to fix any of the issues with the patches but if this works I can start working on this project again

I'll lyk when I test it

btw, do you know if u have to disable the hardened runtime every update? or just once

@gBasil

gBasil commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

tysm I will test this!!!

Glad I could be of help ^^ Mind you, I've no idea if the way I'm doing things is the best way to do things currently, I don't have much experience in this stuff.

I wasn't able to fix any of the issues with the patches

Speaking of, I noticed that the <Toggle> component isn't able to find the corresponding toggle component module. All of the copies of said component are all in the named JS files that start with xpui and dwp and whatnot, and I assume the webpack logic ignores those or something?

btw, do you know if u have to disable the hardened runtime every update? or just once

I believe you'd have to resign it whenever the Spotify binary and/or the CodeResources file (Spotify.app/Contents/_CodeSignature/CodeResources) get updated. I don't know if/when/how the native components of the app get updated, and I actually wanted to ask about that.

Also, I took and fixed up the dyld hooking logic from https://github.com/geofft/redhook ("redhook is a helper crate for writing interposition libraries (LD_PRELOAD, DYLD_INSERT_LIBRARIES, etc.) in Rust."). You all currently have your own logic for Unix, but it might be a good idea to instead PR this fix to redhook and switch the Unix hooking to use that library instead?

@wynjamin
wynjamin merged commit 723d78e into extendify-mod:master Oct 25, 2026
5 checks passed
@gBasil
gBasil deleted the macos branch November 11, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants