[Vm-dev] Mac OS - path and file name of the VM app

Andreas Raab andreas.raab at gmx.de
Wed Jul 9 21:40:34 UTC 2008


Hi Robert -

If I remember correctly this does the trick:

   Smalltalk getSystemAttribute: 0.

Cheers,
   - Andreas

Robert Krahn wrote:
> 
> Hi!
> 
> I am trying to create a sar file which moves a .bundle directory into 
> the VM app. Let's assume that my SqueakVM is /Applications/SqueakVM.app. 
> Then I would have to move my bundle directory into 
> /Applications/SqueakVM.app/Contents/Resources/.
> 
> I get the path to the vm app  with SmalltalkImage current vmPath. But 
> this only evaluates to /Applications/. How do I get the name of the app 
> directory?
> 
> Thanks,
> Robert
> 


More information about the Vm-dev mailing list