mirror of
https://github.com/oooo-ps/i2pdbrowser.git
synced 2026-04-01 06:05:27 +00:00
update to 52.1.0
Former-commit-id: 125f26d222014db4e9b4f1f6ba01a2020a457fda
This commit is contained in:
parent
a2cb910a72
commit
92fbcd8850
11 changed files with 359 additions and 339 deletions
|
|
@ -23,7 +23,7 @@ if "%locale%"=="Russian" (
|
|||
echo Downloading Firefox Portable ESR installer
|
||||
)
|
||||
|
||||
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2045.8.0/FirefoxPortableESR_45.8.0_%locale%.paf.exe %$X%
|
||||
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2052.1.0/FirefoxPortableESR_52.1.0_%locale%.paf.exe %$X%
|
||||
if errorlevel 1 (
|
||||
echo ERROR:%ErrorLevel%
|
||||
pause
|
||||
|
|
@ -37,14 +37,15 @@ if "%locale%"=="Russian" (
|
|||
echo Unpacking the installer and delete unnecessary files
|
||||
)
|
||||
|
||||
7z x -y -o..\Firefox FirefoxPortableESR_45.8.0_%locale%.paf.exe > nul
|
||||
del /Q FirefoxPortableESR_45.8.0_%locale%.paf.exe
|
||||
7z x -y -o..\Firefox FirefoxPortableESR_52.1.0_%locale%.paf.exe > nul
|
||||
del /Q FirefoxPortableESR_52.1.0_%locale%.paf.exe
|
||||
rmdir /S /Q ..\Firefox\$PLUGINSDIR
|
||||
rmdir /S /Q ..\Firefox\App\AppInfo
|
||||
rmdir /S /Q ..\Firefox\App\Bin
|
||||
rmdir /S /Q ..\Firefox\App\DefaultData\plugins
|
||||
rmdir /S /Q ..\Firefox\App\DefaultData\settings
|
||||
rmdir /S /Q ..\Firefox\Other
|
||||
del /Q ..\Firefix\App\DefaultData\profile\*
|
||||
del /Q ..\Firefox\App\readme.txt
|
||||
del /Q ..\Firefox\help.html
|
||||
rem if "xOS"=="x86" (
|
||||
|
|
@ -73,13 +74,9 @@ if "%locale%"=="Russian" (
|
|||
rem if "xOS"=="x86" (
|
||||
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\application.ini
|
||||
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\application.ini
|
||||
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\webapprt\webapprt.ini
|
||||
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\webapprt\webapprt.ini
|
||||
rem ) else (
|
||||
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox64\application.ini
|
||||
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox64\application.ini
|
||||
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox64\webapprt\webapprt.ini
|
||||
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox64\webapprt\webapprt.ini
|
||||
rem )
|
||||
|
||||
if "%locale%"=="Russian" (
|
||||
|
|
@ -103,21 +100,26 @@ if "%locale%"=="Russian" (
|
|||
copy /Y profile\* ..\Firefox\App\DefaultData\profile\ > nul
|
||||
copy /Y settings\FirefoxPortable.ini ..\Firefox\ > nul
|
||||
|
||||
mkdir ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul
|
||||
mkdir ..\Firefox\App\Firefox64\browser\defaults\preferences\ > nul
|
||||
copy /Y preferences\* ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul
|
||||
copy /Y preferences\* ..\Firefox\App\Firefox64\browser\defaults\preferences\ > nul
|
||||
|
||||
if "%locale%"=="Russian" (
|
||||
echo ‡ £à㧪 I2Pd
|
||||
) else (
|
||||
echo Downloading I2Pd
|
||||
)
|
||||
if "%xOS%"=="x86" (
|
||||
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.12.0/i2pd_2.12.0_win32_mingw.zip
|
||||
if "xOS"=="x86" (
|
||||
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.13.0/i2pd_2.13.0_win32_mingw.zip
|
||||
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
|
||||
7z x -y -o..\i2pd i2pd_2.12.0_win32_mingw.zip > nul
|
||||
del /Q i2pd_2.12.0_win32_mingw.zip
|
||||
7z x -y -o..\i2pd i2pd_2.13.0_win32_mingw.zip > nul
|
||||
del /Q i2pd_2.13.0_win32_mingw.zip
|
||||
) else (
|
||||
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.12.0/i2pd_2.12.0_win64_mingw.zip
|
||||
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.13.0/i2pd_2.13.0_win64_mingw.zip
|
||||
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
|
||||
7z x -y -o..\i2pd i2pd_2.12.0_win64_mingw.zip > nul
|
||||
del /Q i2pd_2.12.0_win64_mingw.zip
|
||||
7z x -y -o..\i2pd i2pd_2.13.0_win64_mingw.zip > nul
|
||||
del /Q i2pd_2.13.0_win64_mingw.zip
|
||||
)
|
||||
xcopy /E /I /Y i2pd ..\i2pd > nul
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue