Author: nextgens
Date: 2008-03-28 04:17:24 +0000 (Fri, 28 Mar 2008)
New Revision: 18802

Modified:
   trunk/apps/new_installer/res/unix/bin/browse.sh
   trunk/apps/new_installer/res/windows/browse.cmd
Log:
new_installer: fix the 'the installer changed my default profile' bug spawning 
up an other instance of the main profile in any case

Modified: trunk/apps/new_installer/res/unix/bin/browse.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/browse.sh     2008-03-28 04:11:57 UTC 
(rev 18801)
+++ trunk/apps/new_installer/res/unix/bin/browse.sh     2008-03-28 04:17:24 UTC 
(rev 18802)
@@ -17,6 +17,7 @@

 if test -e firefox.location
 then
+       `cat firefox.location` -no-remote "about:blank"
        browseURL "$URL"
 else
        echo Detecting the location of Firefox
@@ -27,6 +28,7 @@
                then
                        echo $TRY > firefox.location
                        echo Firefox found, creating a profile for freenet
+                       $TRY -no-remote "about:blank"
                        $TRY -no-remote -CreateProfile "freenet 
$PWD/firefox_profile" >/dev/null
                        browseURL "$URL"
                        exit

Modified: trunk/apps/new_installer/res/windows/browse.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/browse.cmd     2008-03-28 04:11:57 UTC 
(rev 18801)
+++ trunk/apps/new_installer/res/windows/browse.cmd     2008-03-28 04:17:24 UTC 
(rev 18802)
@@ -17,6 +17,7 @@
 @if not exist firefox.location goto detectff
 @set /P FIREFOX=<firefox.location
 @if not defined FIREFOX goto detectff
+ at start "" /B %FIREFOX% -no-remote "about:blank"
 @start "" /B %FIREFOX% -no-remote -P freenet "%URL%"
 @goto realEnd

@@ -31,6 +32,7 @@

 :: creation of the profile
 @echo Creating a Firefox profile for freenet
+ at start "" /B %FIREFOX% -no-remote "about:blank"
 @%FIREFOX% -no-remote -CreateProfile "freenet %INSTALL_PATH%\firefox_profile" 
> NUL
 @start "" /B %FIREFOX% -no-remote -P freenet "%URL%"
 @goto end


Reply via email to