macoscode-injectiondocksimbl

SIMBL/Bundle/dylib injection into Dock.app


I'm working on a simple SIMBL bundle to decrease the FullScreen animation time in Lion. It's no big deal to change the animation of the windows, however doing that for the menubar/desktop animation part (where the menubar+desktop slide to the left) is a problem. I think that Dock.app is responsible for that animation. However, SIMBL can't inject a bundle into Dock.app (same with Finder).

I tried creating a .dylib which then would be loaded into Dock by setting the LSEnvironment in Dock's Info.plist but that failed.

Is there any good way to inject a bundle/dylib into Dock.app? Thanks in Advance

PS: Dock is root:wheel :(


Solution

  • Because I only need x64 injection (Lion) I ended up using this https://github.com/StarProject/StarRuntime It's way easier to use than mach_inject or similar and GPL.