|Version 1 (modified by firstname.lastname@example.org, 6 years ago) (diff)|
After installing the Safari 3 Public Beta, the original Safari 2 application and WebKit frameworks get archived. This page describes how to extract them in order to use Safari 2 for testing purposes.
- Open a Terminal window.
- Create a directory to save the Safari 2 application and WebKit frameworks.
$ mkdir ~/Safari2
- Change directories to the directory created in Step 2.
$ cd ~/Safari2
- Extract the Safari 2 archive.
$ tar xzvf "/Library/Application Support/Apple/.SafariBetaArchive.tar.gz"
- Create a shell script (in ~/bin/Safari2) to launch Safari 2.
#!/bin/sh export DYLD_FRAMEWORK_PATH=$HOME/Safari2/System/Library/Frameworks:$HOME/Safari2/System/Library/Frameworks/WebKit.framework/Frameworks export WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES exec $HOME/Safari2/Applications/Safari.app/Contents/MacOS/Safari
To run Safari 2, simply run the shell script: