Aug. 9, 2012
8:54 p.m.
+1, preferences should be loaded before any laod scripts. On 09/08/12 12:20, Sean P. DeNigris wrote:
Sean P. DeNigris wrote
It seems that (in 1.4, not sure about 2.0) if an image is launched with a script (e.g. "cogvm my.image my.st"), StartupPreferences are never run. Is that what's intended?
After experimenting a bit, it seems that preferences are loaded after script arguments are handled, so if the script ends in #snapshot:andQuit:, the prefs never get loaded.
I'm thinking the prefs should be loaded before any scripts. For example, I want my shared cache to be set as the package cache before any load scripts are run.
What do y'all think?
Cheers, Sean