SIMBL/Bundle/dylib 注入 Dock.app
我正在开发一个简单的 SIMBL 包,以减少 Lion 中的全屏动画时间。更改窗口的动画没什么大不了的,但是对菜单栏/桌面动画部分(其中菜单栏+桌面向左滑动)执行此操作是一个问题。 我认为 Dock.app 负责该动画。 但是,SIMBL 无法将捆绑包注入 Dock.app(与 Finder 相同)。
我尝试创建一个 .dylib,然后通过在 Dock 的 Info.plist 中设置 LSEnvironment 将其加载到 Dock 中,但失败了。
有什么好的方法可以将bundle/dylib注入到Dock.app中吗? 提前致谢
PS:Dock 是 root:wheel :(
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 :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
因为我只需要 x64 注入(Lion),所以我最终使用了这个 https://github.com/StarProject/StarRuntime< /a>
它比 mach_inject 或类似的以及 GPL 更容易使用。
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.
您无法在 Dock & 中注入使用 SIMBL 查找器。 SIMBL 仅适用于可可应用程序!
你必须编写自己的注入系统,如下所示, http://scplugin.tigris.org/ svn/scplugin/trunk/(用户名:guest,密码:guest)或查找应用程序增强器。
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.
您还可以检查 inject&interpose
you can also check inject&interpose