Thanks for putting together the automatic patcher. I am, however, unable to get it to work properly. I had been using another 'hack' (outlined here), but I reverted to Dock.app v.10.8.2 from a backup before attempting to run the auto-patcher. Here's the output:
The Dock process cannot successfully restart, and my wallpaper disappears. Reverting seems to work. Also, if I run the revert_to_original script, and then run the patch_dock script, I get the same results listed above. Any ideas?Code:$ sudo ./patch_dock Backing up original Dock contents Dumping memory from Dock (5263) [0x104eda000-0x105135000] Copying Dock binary to working directory Replacing encrypted contents with decrypted dump Patching __TEXT segment flags Patching offset 0xDC0AD Patching offset 0xDC0C8 Patching offset 0xDC0ED Patching offset 0xDC19F Patching offset 0xDC1C7 Patching offset 0xDC26D Patching offset 0xDC31D Importing code signing certificates Replacing with patched Dock Code signing the patched Dock /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock: replacing existing signature /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock: object file format unrecognized, invalid, or unsuitable Restarting the Dock process
Update: After realizing the the scripts already include the sudo command, I tried running them w/o it. Same result.
Uploaded new scripts in first post. Redownload and try the new one. It should actually spit out some helpful messages. And I fixed a few glaring bugs (not including count= in the dd commands)