Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 :(

like image 734
YllierDev Avatar asked Feb 23 '23 11:02

YllierDev


2 Answers

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.

like image 40
RLT Avatar answered Feb 27 '23 12:02

RLT


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.

like image 88
YllierDev Avatar answered Feb 27 '23 11:02

YllierDev