Mac VM image path in one-click images

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Mac VM image path in one-click images

keith1y
 
Hi,

currently in one-click images the actual image is contained in ./
Contents/Resources
is it possible to inform the vm to launch an image in ./ or a  
different directory of the package?

Keith




Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Mac VM image path in one-click images

johnmci


On 2010-01-24, at 8:25 AM, keith wrote:

> Hi,
>
> currently in one-click images the actual image is contained in ./Contents/Resources
> is it possible to inform the vm to launch an image in ./ or a different directory of the package?
>
> Keith
>

http://www.smalltalkconsulting.com/html/squeakinfoplist.html


--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Mac VM image path in one-click images

keith1y
 

On 24 Jan 2010, at 18:00, John M McIntosh wrote:

>
>
> On 2010-01-24, at 8:25 AM, keith wrote:
>
>> Hi,
>>
>> currently in one-click images the actual image is contained in ./
>> Contents/Resources
>> is it possible to inform the vm to launch an image in ./ or a  
>> different directory of the package?
>>
>> Keith
>>
>
> http://www.smalltalkconsulting.com/html/squeakinfoplist.html

I expect I am just being very thick,

I cant work out how to tell it that the image will be in ./ or ./
Contents rather than ./Contents/Resources

thanks in advance

Keith
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Mac VM image path in one-click images

johnmci

"SqueakImageName
Name of the Squeak Image.
Squeak.image

For example if I set this to
foobar.thing
Then we will look for foobar.thing first in the application resource directory, then the
directory the application is in, then the Plugins directory in the directory the folder is in."


If you set it to foobar.thing
then it will look for foobar.thing in the same directory as the  VM.app

If you set the SqueakImageName to ./foobar.thing
That will look for the app in the current working directory which might not be the directory where the VM.app is.

You can also alter SqueakImagePath since that is combined with the SqueakImageName.


On 2010-01-24, at 10:25 AM, keith wrote:

>
> On 24 Jan 2010, at 18:00, John M McIntosh wrote:
>
>>
>>
>> On 2010-01-24, at 8:25 AM, keith wrote:
>>
>>> Hi,
>>>
>>> currently in one-click images the actual image is contained in ./Contents/Resources
>>> is it possible to inform the vm to launch an image in ./ or a different directory of the package?
>>>
>>> Keith
>>>
>>
>> http://www.smalltalkconsulting.com/html/squeakinfoplist.html
>
> I expect I am just being very thick,
>
> I cant work out how to tell it that the image will be in ./ or ./Contents rather than ./Contents/Resources
>
> thanks in advance
>
> Keith

--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================