Will preferences work if the application is distributed to other
machines. I guess it might work if the preferences file sits next to
the image file, but not automatically if it was installed on another
machine via a ConfigurationOfXXX.
The other alternative may be to plug into the #startup mechanism. Take
a look at the class PhLDeploymentScript in PharoLauncher [1].
Also you might find some interesting tips to carry over from [2] - but
be aware that is written for old version Squeak 3.9.
[1]
https://ci.inria.fr/pharo-contribution/job/PharoLauncherFinalUserImage/
[2]
http://squeak.preeminent.org/tut2007/html/205.html
cheer -ben
Benjamin wrote:
What you can do here, is using the preferences to automatically start your app when a pharo image is open :)
Then your Pharo.exe+your image will turn into a Minesweeper :)
Ben
On 31 Oct 2013, at 15:01, Paolo Piccinelli [hidden email] wrote:
Hi Everybody,
i'd like to know what can i have to do to create a .exe application/desktop application, after creating a Package with all the working classes in Pharo 2.0. I created the Minesweeper game, and i'm tired to write into the workspace MSGame new openInWorld. How can i automatize that?
Thanks for the help guys!
W Pharo!
Paolo