Author: nextgens
Date: 2007-04-29 13:05:21 +0000 (Sun, 29 Apr 2007)
New Revision: 13048
Modified:
trunk/apps/new_installer/Win_shortcutSpec.xml
trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
Log:
new_installer: windows: update the browse shortcut if fproxy runs on a
non-standard port
Modified: trunk/apps/new_installer/Win_shortcutSpec.xml
===================================================================
--- trunk/apps/new_installer/Win_shortcutSpec.xml 2007-04-28 21:32:27 UTC
(rev 13047)
+++ trunk/apps/new_installer/Win_shortcutSpec.xml 2007-04-29 13:05:21 UTC
(rev 13048)
@@ -21,7 +21,7 @@
<createForPack name="UninstallStuff" />
</shortcut>
-
+
<shortcut
name="Browse Freenet"
programGroup="yes"
@@ -31,9 +31,9 @@
startup="no"
iconFile="%SystemRoot%\system32\SHELL32.dll"
iconIndex="13"
- target="http://localhost:8888/"
- description="It opens a browser pointing to Fproxy">
-
+ target="$INSTALL_PATH\browse.cmd"
+ description="It opens a browser pointing to Fproxy"
+ workingDirectory="$INSTALL_PATH">
<createForPack name="Base" />
</shortcut>
Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
2007-04-28 21:32:27 UTC (rev 13047)
+++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
2007-04-29 13:05:21 UTC (rev 13048)
@@ -15,6 +15,9 @@
@echo fproxy.enable=true >>freenet.ini
@echo fproxy.port=%FPROXY_PORT% >>freenet.ini
+:: Create a script for the "browse shortcut"
+ at echo @start http://127.0.0.1:%FPROXY_PORT%/ > bin\browse.cmd
+
:: Try to detect a free, available port for fcp
@set FCP_PORT=9481
@java -jar bin\bindtest.jar %FCP_PORT%