Author: nextgens
Date: 2006-08-24 13:38:57 +0000 (Thu, 24 Aug 2006)
New Revision: 10253
Added:
trunk/apps/new_installer/res/windows/bin/cat.exe
trunk/apps/new_installer/res/windows/bin/sed.exe
Modified:
trunk/apps/new_installer/TODO
trunk/apps/new_installer/res/windows/bin/1run.cmd
Log:
new installer: update the welcome page if the fproxy port has changed (windows
only)
Modified: trunk/apps/new_installer/TODO
===================================================================
--- trunk/apps/new_installer/TODO 2006-08-24 12:09:00 UTC (rev 10252)
+++ trunk/apps/new_installer/TODO 2006-08-24 13:38:57 UTC (rev 10253)
@@ -1,5 +1,4 @@
TODO:
- * update the welcome page if the fproxy port has changed (windows only)
* Fix uninstallation hooks
* New packs:
-Freemail
Modified: trunk/apps/new_installer/res/windows/bin/1run.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/1run.cmd 2006-08-24 12:09:00 UTC
(rev 10252)
+++ trunk/apps/new_installer/res/windows/bin/1run.cmd 2006-08-24 13:38:57 UTC
(rev 10253)
@@ -49,7 +49,11 @@
:: Try to detect a free, aviable port for fproxy
@set FPROXY_PORT=8888
@java -jar bin\bindtest.jar %FPROXY_PORT%
- at if not errorlevel 0 set FPROXY_PORT=8889
+ at if errorlevel 0 goto configure_fproxy
+ at set FPROXY_PORT=8889
+ at bin\cat.exe welcome.html | bin\sed.exe "s/8888/%FPROXY_PORT%/g" >
welcome2.html
+ at move /Y welcome2.html welcome.html > NUL
+:configure_fproxy
@echo fproxy.enable=true >>freenet.ini
@echo fproxy.port=%FPROXY_PORT% >>freenet.ini
Added: trunk/apps/new_installer/res/windows/bin/cat.exe
===================================================================
(Binary files differ)
Property changes on: trunk/apps/new_installer/res/windows/bin/cat.exe
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/apps/new_installer/res/windows/bin/sed.exe
===================================================================
(Binary files differ)
Property changes on: trunk/apps/new_installer/res/windows/bin/sed.exe
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream