Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set Firefox profile directly within the application bundle' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Firefox profile directly within the application bundle
Authored by: phlops on Nov 17, '09 10:08:06AM

I recently did this myself using a different and simpler method. The reason why I went this way and didn't use MultiFirefox is that I want it to be simple. By editing the .app bundles for the older versions of Firefox I have installed I can simply click the icon in my Dock (or use Launchbar or what have you) and that particular version of Firefox launches with its own profile in use so that I can use as many as I want concurrently.

The instructions are at http://flickr.com/dokas/4016880175/ which I cobbled together from http://nxsy.org/firefox-30b4-and-multiple-firefox-versions-on-os-x.

Basically you create a new file in the Contents/MacOS/ directory of the app bundle, I named mine launcher.sh and you edit this script to be its contents:

#!/bin/sh

MYDIR=`dirname "$0"`
cd "${MYDIR}"
./firefox-bin -P YOURPROFILENAMEHERE "$@"

Then you edit your Info.plist to use "launcher.sh" as the binary location (CFBundleExecutable is the plist key name). Then, for me on 10.5 at least, I had to rebuild my launch services database using my preferred tool, Cocktail. Repeat these steps per Firefox version with a unique profile and boom: as many Firefox versions as you want, all runnable at once.

---
/phil



[ Reply to This | # ]