				Launcher

Omni's launcher application is a hack to allow us to bundle frameworks inside our app-wrapper, which is a planned feature in Mac OS X but does not work yet as of DP4.  We look forward to being able to retire this code completely once Apple starts supporting use of the Frameworks and SharedFrameworks directories.

The basic idea is we create a launcher tool that adds the application's frameworks directory to the DYLD_FRAMEWORK_PATH environment variable, then executes the real application (renamed with a leading "." to hide it from the user).

This version of Launcher for Mac OS X no longer requires that you customize it for each application you build (since the Mach-O binary is no longer searched for the application name, icon, and files to open):  the launcher binary is now always the same (if you want you can just copy it from OmniWeb), you just need to insert it into your application.  To do this, rename YourApplication.app/Contents/MacOS/YourApplication to YourApplication.app/Contents/MacOS/.YourApplication (notice the new leading "."), and copy the Launcher binary to YourApplication.app/Contents/MacOS/.  Launcher will add YourApplication.app/Contents/Frameworks to your frameworks path, then execute .YourApplication.

				Ken Case
				kc@omnigroup.com
				June 2, 2000