I always build everything from a new image. It is my process. and I try to throw away images as fast as I can (but not fast enough⦠when I see all the images I have around :). On Nov 19, 2011, at 6:02 PM, Schwab,Wilhelm K wrote:
FWIW, I thought there is a way to put a preferences file in the image directory to achieve this?? I read that somewhere, I just never tried it. I typically use an image for a long time (still using 1.1.1 at the moment - it WORKS, ok<g>), so the prompts are perhaps less annoying to me than they would be to frequent image builders.
Bill
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Saturday, November 19, 2011 11:01 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Startup Preferences
thanks ben
I will wait for feedback before pushing that in the system but indeed, I'm tired to always type my password in all the images. For script loader I did a hack but it would be better to have something nicer like what you did.
Stef
On Nov 19, 2011, at 2:13 PM, Benjamin wrote:
Hi guys,
I did a little project which allow you to save a st script on your HDD in a preference folder (~/.pharo#{version} for unix based machine, not yet defined for windows) and run it each time an image is open. You can also decide for each item if you want it to be run each time or only once.
I use it to set my author name, change the fonts, set some settings, add my password in some repo etc
The code is here:
Gofer new squeaksource: 'StartupPreferences'; package: 'StartupPreferences'; load.
You can have a look at StartupLoader class>>#example and StartupLoader class>>#example2
If you have comments or ideas (by example, what is the path for preferences on windows ? ^^), you're welcome :)
Ben