Hi.

Personally, I hate windows links :) The .bat can be have /C parameter for
automatically close the open windows. Like this:
start "%~dp0\CogVM.exe" "%~dp0\Contents\Resources\Pharo-1.4-one-click.image"

Another little fix, the files readme.txt and OneClick.txt have line ending
for Unix, and in Windows for default those are open in the Notepad, then
all is showed in one line. Maybe those file can be shipped with LF+CR line
end.

Regards.


El 20 de abril de 2012 06:49, Herby Vojčík <[email protected]> escribió:

> The ideal way would probably that .bat (or .cmd or .vbs) creates the .lnk
> by some ActiveX magic, runs it and quits; subseuqntly .lnk could be clicked
> directly.
>
> Herby
>
>
> blake wrote:
>
>> I set up the regular Pharo (since I managed to get that instead of the
>> one-click), then decided to try the actual one-click.
>>
>> The previous one-click had a Windows shortcut ".lnk" whereas this one
>> uses a batch file. The former is preferable, as the batch file opens a
>> console window and leaves it open. You can close it--but that's not
>> always the case in Windows.
>>
>> I created a link by using "Create shortcut" on CogVM and then copying
>> the parameter out of the batch file, and pasting it into the "Target":
>>
>> [yourPharoDriveAndDir\]CogVM.exe
>> Contents\Resources\Pharo-1.4-one-click.image
>>
>> ===Blake===
>>
>>
>

Reply via email to