From 27116b9f30af799cba22cf00d95410352a503802 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 28 Nov 2021 04:26:44 +0300 Subject: [PATCH] 2.40.0 Signed-off-by: R4SAS --- ChangeLog | 3 ++- build/build_mingw.cmd | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 062e916d..a75e9c6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,11 +10,12 @@ - Windows menu item for opening datadir - Reseed if too few floodfills - Don't publish old and replacing tunnel in LeaseSet +- Webconsole light/dark theme depending on system settings (via CSS) ### Changed - Set gzip compression to false by default - Build tunnel through ECIES routers only - Removed ElGamal support for tunnels -- Moved webconsole resource to separate file +- Moved webconsole resources to separate file - Pick tunnels with compatible transport with another tunnel of floodfill - Use common cleanup timer for all SSU sessions - Reduced memory usage diff --git a/build/build_mingw.cmd b/build/build_mingw.cmd index 4cfed8ba..847a318f 100644 --- a/build/build_mingw.cmd +++ b/build/build_mingw.cmd @@ -50,7 +50,7 @@ echo Preparing configuration files and README for packaging... %xSH% "echo To use configs and certificates, move all files and certificates folder from contrib directory here. > README.txt" >> nul REM converting configuration files to DOS format (usable in default notepad) -%xSH% "unix2dos contrib/i2pd.conf contrib/tunnels.conf contrib/tunnels.d/*" >> build\build.log 2>&1 +%xSH% "unix2dos contrib/i2pd.conf contrib/tunnels.conf contrib/tunnels.d/* contrib/webconsole/style.css" >> build\build.log 2>&1 REM starting building set MSYSTEM=MINGW32 @@ -61,13 +61,15 @@ set MSYSTEM=MINGW64 set bitness=64 call :BUILDING -REM building for WinXP -set "WD=C:\msys64-xp\usr\bin\" -set MSYSTEM=MINGW32 -set bitness=32 -set "xSH=%WD%bash -lc" -call :BUILDING_XP -echo. +IF exist C:\msys64-xp\ ( + REM building for WinXP + set "WD=C:\msys64-xp\usr\bin\" + set MSYSTEM=MINGW32 + set bitness=32 + set "xSH=%WD%bash -lc" + call :BUILDING_XP + echo. +) REM compile installer C:\PROGRA~2\INNOSE~1\ISCC.exe /dI2Pd_TextVer="%tag%" /dI2Pd_Ver="%reltag%.0" build\win_installer.iss >> build\build.log 2>&1