diff --git a/router.config b/router.config index f2e5c92..1d2e09c 100644 --- a/router.config +++ b/router.config @@ -1,3 +1,5 @@ router.updateURL=http://ekm3fu6fr5pxudhwjmdiea5dovc3jdi66hjgop4c7z7dfaw7spca.b32.i2p/i2pwinupdate.su3 router.newsURL=http://dn3tvalnjz432qkqsvpfdqrwpqkw3ye4n4i2uyfr4jexvo3sp5ka.b32.i2p/news/win/beta/news.su3 router.backupNewsURL=http://tc73n4kivdroccekirco7rhgxdg5f3cjvbaapabupeyzrqwv5guq.b32.i2p/win/beta/news.su3 +routerconsole.browser=I2P.exe +router.disableTunnelTesting=false \ No newline at end of file diff --git a/src/nsis/i2pbrowser-installer.nsi b/src/nsis/i2pbrowser-installer.nsi index 2bc65de..9dd764d 100644 --- a/src/nsis/i2pbrowser-installer.nsi +++ b/src/nsis/i2pbrowser-installer.nsi @@ -284,19 +284,6 @@ ${If} ${Silent} ; CreateShortCut "$DESKTOP\I2P Applications.lnk" "C:\Windows\system32\cmd.exe" "/c $\"$INSTDIR\i2pconfig.bat$\"" "$INSTDIR\ui2pbrowser_icon.ico" SetOutPath "$INSTDIR" - ;# Point the browser config setting in the base router.config - FileOpen $0 "$I2PINSTEXE\router.config" a - FileSeek $0 0 END - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileWrite $0 "routerconsole.browser=$\"$I2PINSTEXE\I2P.exe$\"" - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileWrite $0 "router.disableTunnelTesting=false" - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileClose $0 - SetShellVarContext current Var /Global I2PAPPDATA @@ -315,19 +302,6 @@ ${If} ${Silent} IfFileExists "$LOCALAPPDATA\I2P\eepsite\docroot" +2 0 File /nonfatal /a /r "I2P\eepsite" - ;# Point the browser config setting in the working config - FileOpen $0 "$I2PAPPDATA\router.config" a - FileSeek $0 0 END - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileWrite $0 "routerconsole.browser=$\"$I2PINSTEXE\I2P.exe$\"" - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileWrite $0 "router.disableTunnelTesting=false" - FileWriteByte $0 "13" - FileWriteByte $0 "10" - FileClose $0 - createDirectory "$I2PINSTEXE" SetOutPath "$I2PINSTEXE"