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 i开发者_如何转开发n Advance
PS: Dock is root:wheel :(
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.
You cannot inject in Dock & Finder with SIMBL. SIMBL works for cocoa applications only! You have to write your own injection system something like this, http://scplugin.tigris.org/svn/scplugin/trunk/ (username:guest, password:guest) or Look for Application Enhancer.
you can also check inject&interpose
精彩评论