4.3.8 Building a One-Click Image

How do I make a "one-click" image that will start my app when clicked?

Two options:

  • Take your new image (both .image and .changes), put exactly the same file names, and override the original files that can be found in /Contents/Resources. On the mac, you need to use "show package contents" to open the browser on the .app directory.
  • This option is the proper one. It depends on the OS you are using. If you are in Linux, just edit the Pharo.sh file so that it points to your new image (where it says "$RES/Pharo-1.0.image"). If you are in Windows, edit the Pharo.ini file where it says "ImageFile=ContentsResourcesPharo-1.0.image".

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |