update 7z, build scripts


Former-commit-id: c9c6a8322ae9ddbf98153a14963f34af3ab18d77
This commit is contained in:
r4sas 2018-06-30 14:52:31 +03:00
parent c86545c7b7
commit 8968f94f81
11 changed files with 47 additions and 55 deletions

Binary file not shown.

Binary file not shown.

View file

@ -94,17 +94,11 @@ if "%locale%"=="ru" (
) else (
echo Downloading I2Pd
)
if "xOS"=="x86" (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/%I2Pdversion%/i2pd_%I2Pdversion%_win32_mingw.zip
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
7z x -y -o..\i2pd i2pd_%I2Pdversion%_win32_mingw.zip i2pd.exe > nul
del /Q i2pd_%I2Pdversion%_win32_mingw.zip
) else (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/%I2Pdversion%/i2pd_%I2Pdversion%_win64_mingw.zip
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
7z x -y -o..\i2pd i2pd_%I2Pdversion%_win64_mingw.zip i2pd.exe > nul
del /Q i2pd_%I2Pdversion%_win64_mingw.zip
)
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/%I2Pdversion%/i2pd_%I2Pdversion%_%xOS%_mingw.zip
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
7z x -y -o..\i2pd i2pd_%I2Pdversion%_%xOS%_mingw.zip i2pd.exe > nul
del /Q i2pd_%I2Pdversion%_%xOS%_mingw.zip
xcopy /E /I /Y i2pd ..\i2pd > nul
echo.