Menu

#2 Menu Cracker for 10.6

open
nobody
5
2009-03-09
2009-03-09
Anonymous
No

Menu Cracker ceases to work under 10.6 Snow Leopard.... SystemUIServer is now 64-bit and major changes have undertaken in the underlying frameworks...

Discussion

  • Jack Overfull

    Jack Overfull - 2009-04-18

    I'm trying to build it on 10.6. I had to do some small changes, it seems to work now (usual loading strings show up in the Console), but my project (multixfinder) segfaults systemuiserver while in 64 bit mode. Running it in 32 bit (with or without the modifications), even on 10.6, is fine.

    I'd like someone with more knowledge than me to review the changes, I've posted the modified MenuCracker.m here: http://pastebin.com/m4f1aa415

    As you can see, all I did is to change "method->method_imp" in "method_getImplementation(method)" or method_setImplementation(method, (IMP)function), I have little knowledge of obj-c, but this seems to be the problem to me.

     
  • Nate Fanaro

    Nate Fanaro - 2009-06-24

    I'm trying to get MenuCracker working on 10.6 with MenuMeters. Jack, can you post that code again? It looks like that pastebin expired.

     
  • Jack Overfull

    Jack Overfull - 2009-06-24

    Sure, the code is up again here:
    http://pastebin.com/f3954690

    The problem was in multiXFinder, now everything works fine in 10.6 in 64 bit mode.

     
  • Nobody/Anonymous

    I am the developer at ScriptSoftware.com that updated menucracker for 10.6 and it does work.

    What i did was like what jackoverfull did. I also updated:

    static NSInteger sortByBundleVersion( id path1, id path2, void *context)

    to used NSInteger.

    Pre-compiled version is in patch section.

    Mark.

    NOTE: Menu Extras also need to be compiled as 64 menu extras to load in Snow Leopard.

     

Log in to post a comment.