Author: nextgens
Date: 2006-08-24 14:09:29 +0000 (Thu, 24 Aug 2006)
New Revision: 10255

Modified:
   trunk/apps/new_installer/res/windows/bin/1run.cmd
Log:
new_installer: really allow several nodes to be installed

Modified: trunk/apps/new_installer/res/windows/bin/1run.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/1run.cmd   2006-08-24 14:05:07 UTC 
(rev 10254)
+++ trunk/apps/new_installer/res/windows/bin/1run.cmd   2006-08-24 14:09:29 UTC 
(rev 10255)
@@ -80,6 +80,10 @@
 @copy freenet-stable-latest.jar freenet.jar > NUl
 @echo "Installing the wrapper"
 @echo "Registering Freenet as a system service"
+ at IF %FPROXY_PORT% == 8888 GOTO no_alternate
+ at bin\cat.exe wrapper.conf | bin\sed.exe 
"s/freenet-darknet/freenet-%FPROXY_PORT%/g" > wrapper2.conf 
+ at move /Y wrapper2.conf wrapper.conf > NUL
+:no_alternate
 @bin\wrapper-windows-x86-32.exe -r ../wrapper.conf > NUL
 @bin\wrapper-windows-x86-32.exe -i ../wrapper.conf



Reply via email to