[Pharo-dev] Startup Preferences: An Alternative

Sean P. DeNigris sean at clipperadams.com
Wed Oct 23 13:52:10 EDT 2013


Sean P. DeNigris wrote
> "what's the minimum amount of code necessary to bootstrap into real
> smalltalk?"

I simplified even further, and use #startUp: to handle the actual
preferences. The only thing the startup.st actually does is load the code
via Metacello on the first run:

StartupLoader default executeAtomicItems: {
    StartupAction name: 'Load DeNigrisPreferences' code: [
        Gofer it 
            url:
'http://smalltalkhub.com/mc/SeanDeNigris/DeNigrisPreferences/main';
            package: 'DeNigrisPreferences-Core';
            load 
    ] runOnce: true
}.

Everything else is handled in the image. Enjoy!



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Startup-Preferences-An-Alternative-tp4713968p4716685.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.




More information about the Pharo-dev mailing list