Stand-alone Squeak application on MacOS X
Alexandre Bergel
Alexandre.Bergel at cs.tcd.ie
Thu Jun 15 07:37:20 UTC 2006
If you use the VM form Ian (which can be launched from the command
line), you can create a file named myapplication.command containing:
-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/bash
squeak -nodisplay myimage.image
-=-=-=-=-=-=-=-=-=-=-=-=
The fact that the name ends with .command makes this file executable
by double-clicking on it.
Cheers,
Alexandre
Am Jun 14, 2006 um 10:58 AM schrieb Eugene Beschastnov:
> Hi!
>
> Can anybody suggest, how to make stand-alone Squeak application for
> MacOS X (i.e. Squeak VM with embedded image)?
>
> I have the prepared image, that is used for making stand-alone Windows
> application. This image made with method
> MySoftware class>>deploy
> Smalltalk addToStartUpList: self.
> Smalltalk abandonSources.
> Preferences disableProgrammerFacilities.
> so it doesn't need .sources and .changes files. Also I have standard
> 3.7-7 VM without modifications.
>
> What I want is that I click on Squeak VM application (on MacOS X) and
> Squeak starts with my image, without asking what image to open.
>
> I found on Squeak Swiki information, saying that "with a Mac VM at
> least as new as 3.2.6b3, you can put .image .sources and .changes in
> the resource path of the VM .app" (
> http://minnow.cc.gatech.edu/squeak/778 ). But when I put my image file
> to Contents/Resources directory of Squeak VM application, it didn't
> change anything - when I click on Squeak VM it still asks about image
> file to open. I also tried to put .sources and empty .changes near my
> image, I tried to put image, .sources and .changes to Contents/MacOS -
> but nothing help.
>
> You are my last hope, please suggest something :-)
>
> --
> Eugene
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.cs.tcd.ie/Alexandre.Bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|