Author: nextgens
Date: 2008-03-29 02:56:05 +0000 (Sat, 29 Mar 2008)
New Revision: 18818
Modified:
trunk/apps/new_installer/res/unix/bin/browse.sh
trunk/apps/new_installer/res/windows/browse.cmd
Log:
new_installer: add the missing bits of r18805 so that it works
Modified: trunk/apps/new_installer/res/unix/bin/browse.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/browse.sh 2008-03-28 22:33:31 UTC
(rev 18817)
+++ trunk/apps/new_installer/res/unix/bin/browse.sh 2008-03-29 02:56:05 UTC
(rev 18818)
@@ -17,7 +17,7 @@
if test -e firefox.location
then
- `cat firefox.location` -no-remote "about:blank" &
+ `cat firefox.location` "file://$INSTALL_PATH/dont-close-me.html" &
browseURL "$URL"
else
echo Detecting the location of Firefox
@@ -28,7 +28,7 @@
then
echo $TRY > firefox.location
echo Firefox found, creating a profile for freenet
- $TRY -no-remote "file:$INSTALL_PATH/dont-close-me.html"
&
+ $TRY "file://$INSTALL_PATH/dont-close-me.html" &
$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 22:33:31 UTC
(rev 18817)
+++ trunk/apps/new_installer/res/windows/browse.cmd 2008-03-29 02:56:05 UTC
(rev 18818)
@@ -17,7 +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"
+ at start "" /B %FIREFOX% "file://%INSTALL_PATH%\dont-close-me.html"
@start "" /B %FIREFOX% -no-remote -P freenet "%URL%"
@goto realEnd
@@ -32,7 +32,7 @@
:: creation of the profile
@echo Creating a Firefox profile for freenet
- at start "" /B %FIREFOX% -no-remote "file:%INSTALL_PATH%\dont-close-me.html"
+ at start "" /B %FIREFOX% "file://%INSTALL_PATH%\dont-close-me.html"
@%FIREFOX% -no-remote -CreateProfile "freenet %INSTALL_PATH%\firefox_profile"
> NUL
@start "" /B %FIREFOX% -no-remote -P freenet "%URL%"
@goto end