wiki:UsingSafari2WithSafari3PublicBetaInstalled

Version 1 (modified by ddkilzer@webkit.org, 12 years ago) (diff)

--

Abstract

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.

Setup

  1. Open a Terminal window.
  2. Create a directory to save the Safari 2 application and WebKit frameworks.
    $ mkdir ~/Safari2
  3. Change directories to the directory created in Step 2.
    $ cd ~/Safari2
  4. Extract the Safari 2 archive.
    $ tar xzvf "/Library/Application Support/Apple/.SafariBetaArchive.tar.gz"
  5. 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

Running

To run Safari 2, simply run the shell script:

$ ~/bin/Safari2