Stand-alone Squeak application on MacOS X

Bert Freudenberg bert at impara.de
Thu Jun 15 15:19:19 UTC 2006


Ah, I hadn't noticed you rewrote the launcher - my launcher in Jasmin  
was an AppleScript with an embedded shell script :)

- Bert -

Am 15.06.2006 um 16:49 schrieb Mark P. McCahill:

> Sveinbjorn Thordarso's Platypus is what I used to create the script
> that launches Croquet on the Mac. I like Platypus better than
> applescript, since I could use normal Unix /bin/sh scripts to find
> a relative path to the VM and image file to launch them. So
> you can do things like this:
>
> #!/bin/sh
> cd "$1/.."
> cd bin/macintosh
> open -a Squeak3.8.12beta3U.app "../../Croquet1.0.10.image"
>
>
>
>
> On Jun 15, 2006, at 6:17 AM, Bert Freudenberg wrote:
>> Err, I wouldn't call that a "stand-alone Squeak application".
>>
>> 1) it would require that the Squeak Unix VM is already installed,  
>> and registered in the search path
>> 2) the image file has to be installed in your home directory, so  
>> you couldn't put your "app" elsewhere
>> 3) It starts Terminal.app and leaves behind a totally unnecessay  
>> terminal window
>>
>> 1 and 2 could be dealt with by a more sophisticated shell script,  
>> but that Terminal window is really a show stopper. Also, it  
>> wouldn't work if someone deleted Terminal.app for security reasons.
>>
>> Similar issues apply to an AppleScript, but at least you could get  
>> around using Terminal.app. Croquet uses that approach.
>>




More information about the Squeak-dev mailing list