I'm sure I am not the only one that reorganizes his Applications folder (e.g. by sub-folder categories like Network, Text, Office, etc). How about adding a environment variable that lets anyone override the $safariPath that is used in the various scripts. (Since right now most of us resort to modifying the scripts individually.) $ENV{WEBKIT_SAFARI_LOCATION} sound good? I can put together a patch if this would be of general interest. On similar lines, how about a general script "run-webkit-based-app"? The script can take an argument to an application bundle, or the executable in the bundle (I say test for both cases.) This would give easy access to users and developers that wish to run their favorite WebKit enabled application with the CVS builds. (I have been asked a few times in #colloquy how to get this going.) I personally have a modified run-safari script for Colloquy, but a general script would help more casual users. I'm curious what you all think. — Timothy Hatcher » colloquy.info
On Jun 27, 2005, at 5:54 PM, Timothy Hatcher wrote:
I'm sure I am not the only one that reorganizes his Applications folder (e.g. by sub-folder categories like Network, Text, Office, etc). How about adding a environment variable that lets anyone override the $safariPath that is used in the various scripts. (Since right now most of us resort to modifying the scripts individually.)
$ENV{WEBKIT_SAFARI_LOCATION} sound good?
I can put together a patch if this would be of general interest.
Sounds fine; I'd just call it WEBKIT_SAFARI, and have it be the path to Safari.app, including the name "Safari.app".
On similar lines, how about a general script "run-webkit-based- app"? The script can take an argument to an application bundle, or the executable in the bundle (I say test for both cases.) This would give easy access to users and developers that wish to run their favorite WebKit enabled application with the CVS builds. (I have been asked a few times in #colloquy how to get this going.) I personally have a modified run-safari script for Colloquy, but a general script would help more casual users.
This doesn't seem so useful to me. This is would be a script that sets one environment variable, DYLD_FRAMEWORK_PATH. I think people can make their own. But I could be wrong -- I'd be happy to take a patch with this script if many people found it useful. -- Darin
On Jun 28, 2005, at 1:03 PM, Darin Adler wrote:
On similar lines, how about a general script "run-webkit-based- app"? The script can take an argument to an application bundle, or the executable in the bundle (I say test for both cases.) This would give easy access to users and developers that wish to run their favorite WebKit enabled application with the CVS builds. (I have been asked a few times in #colloquy how to get this going.) I personally have a modified run-safari script for Colloquy, but a general script would help more casual users.
This doesn't seem so useful to me. This is would be a script that sets one environment variable, DYLD_FRAMEWORK_PATH. I think people can make their own.
But I could be wrong -- I'd be happy to take a patch with this script if many people found it useful.
I would suggest instead a script that takes the *name* of an app and searches the LaunchServices database for it and launches that with DYLD_FRAMEWORK_PATH set. That way someone could just type `run-webkit- app Colloquy` and have it work right. -- Kevin Ballard kevin@sb.org http://www.tildesoft.com http://kevin.sb.org
open -a <appname> already correctly carries over DYLD environment variables... so I don't really see a dying need for such a script. Or at least, if there were such a script, it could be about 2 lines. -eric On Jun 28, 2005, at 8:32 PM, Kevin Ballard wrote:
On Jun 28, 2005, at 1:03 PM, Darin Adler wrote:
On similar lines, how about a general script "run-webkit-based- app"? The script can take an argument to an application bundle, or the executable in the bundle (I say test for both cases.) This would give easy access to users and developers that wish to run their favorite WebKit enabled application with the CVS builds. (I have been asked a few times in #colloquy how to get this going.) I personally have a modified run-safari script for Colloquy, but a general script would help more casual users.
This doesn't seem so useful to me. This is would be a script that sets one environment variable, DYLD_FRAMEWORK_PATH. I think people can make their own.
But I could be wrong -- I'd be happy to take a patch with this script if many people found it useful.
I would suggest instead a script that takes the *name* of an app and searches the LaunchServices database for it and launches that with DYLD_FRAMEWORK_PATH set. That way someone could just type `run- webkit-app Colloquy` and have it work right.
-- Kevin Ballard kevin@sb.org http://www.tildesoft.com http://kevin.sb.org
_______________________________________________ webkit-dev mailing list webkit-dev@opendarwin.org http://www.opendarwin.org/mailman/listinfo/webkit-dev
participants (4)
-
Darin Adler
-
Eric Seidel
-
Kevin Ballard
-
Timothy Hatcher