Index: install.xml =================================================================== --- install.xml (révision 18454) +++ install.xml (copie de travail) @@ -147,6 +147,7 @@ + @@ -240,6 +241,11 @@ Create uninstallation hooks in the registry + + + Configure a new profile in Mozilla Firefox with performance tweaks for freenet. + + Allow the node to auto-update over freenet securely. It's advised that you enable it to keep your node up- Index: ProcessPanel.Spec.xml =================================================================== --- ProcessPanel.Spec.xml (révision 18452) +++ ProcessPanel.Spec.xml (copie de travail) @@ -13,6 +13,11 @@ + + + + + Index: res/windows/bin/install_ff_profile.cmd =================================================================== --- res/windows/bin/install_ff_profile.cmd (révision 0) +++ res/windows/bin/install_ff_profile.cmd (révision 0) @@ -0,0 +1,20 @@ +@set PATH=%SYSTEMROOT%\System32\;%PATH% +@set INSTALL_PATH=$INSTALL_PATH +@set JAVA_HOME=$JAVA_HOME +@cd /D %INSTALL_PATH% + + +@if not exist ff.install goto noff +@del /F ff.install > NUL +@echo Creating a Firefox profile for freenet +regedit /E firefox.reg "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" +:: No I didn't find any better regexp I could do whitout cote-escaping. +bin\cat.exe firefox.reg | find "@=" | bin\sed.exe "s/""/|/g" | bin\sed.exe "s/.*|\(.*\)|/\1/" | bin\sed.exe "s/\\\\/\\/g" > firefox.location +set /P FIREFOX= firefox_profile\user.js +echo user_pref("network.http.max-connections-per-server", 200);> firefox_profile\user.js +echo user_pref("network.http.max-persistent-connections-per-server", 100);> firefox_profile\user.js +echo user_pref("network.http.max-persistent-connections-per-proxy", 100);> firefox_profile\user.js +:noff