* Matthew Toseland <toad at amphibian.dyndns.org> [2008-03-18 18:15:42]:
> The below has a hardcoded http://127.0.0.1:8888/ - does that mean it won't > work if fproxy is on another port? Top-posting sucks. No, we mangle the file in install_wrapper.cmd latter on when we have chosen which port we will use. > > On Sunday 16 March 2008 07:07, nextgens at freenetproject.org wrote: > > Author: nextgens > > Date: 2008-03-16 07:07:02 +0000 (Sun, 16 Mar 2008) > > New Revision: 18545 > > > > Modified: > > trunk/apps/new_installer/res/windows/browse.cmd > > Log: > > new_installer: fix the warning the installer is displaying > > > > Modified: trunk/apps/new_installer/res/windows/browse.cmd > > =================================================================== > > --- trunk/apps/new_installer/res/windows/browse.cmd 2008-03-15 22:58:05 UTC > (rev 18544) > > +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-03-16 07:07:02 UTC > (rev 18545) > > @@ -3,9 +3,15 @@ > > @set JAVA_HOME=$JAVA_HOME > > @cd /D %INSTALL_PATH% > > > > +:: Get the URL from the parameters if set > > @set COUNT=0 > > - at for %%x in (%*) do ( @set /A COUNT=!COUNT!+1 ) > > - at if %COUNT% LSS 1 @set URL=http://127.0.0.1:8888/ else @set URL=%1 > > + at for %%x in (%*) do @( set /A COUNT=%COUNT%+1 ) > > + at if %COUNT% GEQ 1 goto withURL > > + at set URL=http://127.0.0.1:8888/ > > + at goto doneURL > > +:withURL > > + at set URL=%1 > > +:doneURL > > > > :: Check the simple case first (FF exists and has been detected) > > @if not exist firefox.location goto detectff -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080319/02d9e477/attachment.pgp>