On Friday 28 March 2008 04:17, nextgens at freenetproject.org wrote: > 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
They could still kill the main instance. They didn't ask for the main instance, they won't understand why it's there. Unless it's possible to launch it invisibly this is not a good solution. > > 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 > > _______________________________________________ > cvs mailing list > cvs at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080328/47b633b3/attachment.pgp>
