Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding stuff to run on startup of Pharo Image

I'd like to add stuff to run at the beginning of a pharo image start-up. Nothing fancy just a call to a class method that is an entry point to my application. I can't find any guides to making smalltalk scripts at startup. Alternatively are there any method which you can add stuff to be done at image startup?

like image 905
Roman A. Taycher Avatar asked Sep 15 '10 04:09

Roman A. Taycher


1 Answers

Squeak has a built-in mechanism that will notify selected classes that an image has just been launched. This page explains how to do this. It should also work in Pharo.

like image 104
Vijay Mathew Avatar answered Sep 22 '22 09:09

Vijay Mathew