Author: nextgens Date: 2008-03-16 08:13:16 +0000 (Sun, 16 Mar 2008) New Revision: 18546
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: new_installer: maybe get rid of the command prompt behind Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-03-16 07:07:02 UTC (rev 18545) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-03-16 08:13:16 UTC (rev 18546) @@ -7,17 +7,17 @@ @set COUNT=0 @for %%x in (%*) do @( set /A COUNT=%COUNT%+1 ) @if %COUNT% GEQ 1 goto withURL - at set URL=http://127.0.0.1:8888/ + at set URL="http://127.0.0.1:8888/" @goto doneURL :withURL - at set URL=%1 + at set URL="%1" :doneURL :: Check the simple case first (FF exists and has been detected) @if not exist firefox.location goto detectff @set /P FIREFOX=<firefox.location @if not defined FIREFOX goto detectff -@%FIREFOX% -no-remote -p freenet "%URL%" + at start "" /B "%FIREFOX%" "-no-remote -p freenet %URL%" @exit :detectff @@ -32,7 +32,7 @@ :: creation of the profile @echo Creating a Firefox profile for freenet @%FIREFOX% -no-remote -CreateProfile "freenet %INSTALL_PATH%\firefox_profile" > NUL -@%FIREFOX% -no-remote -p freenet "%URL%" + at start "" /B "%FIREFOX%" "-no-remote -p freenet %URL%" @goto end :: Firefox hasn't been detected at all
