| | 26 | |
| | 27 | === Installing Safari 3 without affecting Safari 2 === |
| | 28 | |
| | 29 | With some care, the Safari 3 beta can be installed without affecting the system-wide WebKit framework or replacing Safari 2. This is accomplished by bundling the Safari 3 libraries and application inside [source:/trunk/WebKitTools/WebKitLauncher WebKitLauncher]. Here's the quick HOWTO: |
| | 30 | |
| | 31 | 1. Download the Safari 3 beta and mount the disk image. |
| | 32 | 1. Download the [http://vasi.webhop.org/files/safari3/WebKit.zip prebuilt WebKitLauncher] that I happen to have sitting around, and extract it to the Desktop. |
| | 33 | 1. Paste the following voodoo into the Terminal, to merge in the Safari 3 bits: |
| | 34 | {{{ |
| | 35 | /bin/mkdir ~/Desktop/Safari3 && cd ~/Desktop/Safari3 |
| | 36 | /bin/pax -rz -pp -f /Volumes/Safari\ 3\ Beta/Safari3Beta.pkg/Contents/Resources/Safari3Beta.pax.gz |
| | 37 | /bin/mv ./System/Library/Frameworks/WebKit.framework/Frameworks/* ../WebKit.app/Contents/Resources/ |
| | 38 | /bin/mv ./System/Library/*Frameworks/* ../WebKit.app/Contents/Resources/ |
| | 39 | /bin/mv ./Applications/* ../WebKit.app/Contents/Resources/ |
| | 40 | cd .. && /bin/rm -r Safari3 |
| | 41 | }}} |
| | 42 | 1. You now have a self-contained copy of Safari 3 called "WebKit.app" on your Desktop. Feel free to rename it or move it wherever you'd like, and you can also get rid of the Safari 3 disk image. |
| | 43 | |
| | 44 | A few more details are [http://vasi.webhop.org/files/safari3/Safari%203%20self-contained%20HOWTO.txt available here]. |
| | 45 | |