parent
6423760c3c
commit
22e7f39ef9
@ -81,9 +81,12 @@ sed -i 's/ServerURL=.*/ServerURL=-/' ../app/application.ini
|
||||
# sed -i 's/ServerURL=.*/ServerURL=-/' ../app/webapprt/webapprt.ini
|
||||
# Done!
|
||||
|
||||
echo "Downloading language packs..."
|
||||
curl -L -f -# -o ../app/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history
|
||||
curl -L -f -# -o ../app/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history
|
||||
|
||||
echo "Downloading NoScript extension..."
|
||||
curl -L -f -# -O https://secure.informaction.com/download/releases/noscript-5.1.8.2.xpi
|
||||
mv noscript-5.1.8.2.xpi ../app/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
|
||||
curl -L -f -# -o ../app/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi
|
||||
|
||||
echo "Adding standard configs..."
|
||||
cp profile/* ../data/
|
||||
|
@ -250,8 +250,8 @@ pref("network.proxy.type", 1);
|
||||
pref("network.cookie.prefsMigrated", true);
|
||||
pref("noscript.ABE.enabled", false);
|
||||
pref("noscript.ABE.wanIpAsLocal", false);
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.2");
|
||||
pref("noscript.version", "5.1.8.2");
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
|
||||
pref("noscript.version", "5.1.8.3");
|
||||
pref("noscript.visibleUIChecked", true);
|
||||
pref("pdfjs.disabled", true);
|
||||
pref("pdfjs.enableWebGL", false);
|
||||
|
@ -84,9 +84,12 @@ rm $file
|
||||
# sed -i 's/ServerURL=.*/ServerURL=-/' ../app/webapprt/webapprt.ini
|
||||
# Done!
|
||||
|
||||
echo "Downloading language packs..."
|
||||
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history
|
||||
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history
|
||||
|
||||
echo "Downloading NoScript extension..."
|
||||
curl -L -f -# -O https://secure.informaction.com/download/releases/noscript-5.1.8.2.xpi
|
||||
mv noscript-5.1.8.2.xpi ../FirefoxESR.app/Contents/Resources/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
|
||||
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi
|
||||
|
||||
echo "Adding standard configs..."
|
||||
cp profile/* ../data/
|
||||
|
@ -250,8 +250,8 @@ pref("network.proxy.type", 1);
|
||||
pref("network.cookie.prefsMigrated", true);
|
||||
pref("noscript.ABE.enabled", false);
|
||||
pref("noscript.ABE.wanIpAsLocal", false);
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.2");
|
||||
pref("noscript.version", "5.1.8.2");
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
|
||||
pref("noscript.version", "5.1.8.3");
|
||||
pref("noscript.visibleUIChecked", true);
|
||||
pref("pdfjs.disabled", true);
|
||||
pref("pdfjs.enableWebGL", false);
|
||||
|
@ -13,5 +13,6 @@ Links to software used for building i2pdbrowser
|
||||
* Curl: https://winampplugins.co.uk/curl/
|
||||
* CA Root Certificates: https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt
|
||||
* sed: http://unxutils.sourceforge.net/
|
||||
* Firefox Portable launcher: https://portableapps.com/apps/internet/firefox-portable-esr
|
||||
|
||||
SHA512SUMS created with `find * -type f -print0 | xargs -0 -i sha512sum {}` command
|
@ -59,16 +59,24 @@ if "%locale%"=="ru" (
|
||||
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\application.ini
|
||||
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\application.ini
|
||||
|
||||
if "%locale%"=="ru" (
|
||||
echo ‡ £à㧪 ï§ëª®¢ëå ¯ ª¥â®¢
|
||||
) else (
|
||||
echo Downloading language packs
|
||||
)
|
||||
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history
|
||||
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
|
||||
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history
|
||||
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
|
||||
|
||||
echo.
|
||||
if "%locale%"=="ru" (
|
||||
echo <20><><EFBFBD>礑<EFBFBD><E7A491> ぎ<><E3818E>キ<EFBFBD> NoScript
|
||||
) else (
|
||||
echo Downloading NoScript extension
|
||||
)
|
||||
|
||||
"%CURL%" -L -f -# -O https://secure.informaction.com/download/releases/noscript-5.1.8.2.xpi
|
||||
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi
|
||||
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
|
||||
copy /Y noscript-5.1.8.2.xpi ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi > nul
|
||||
del /Q noscript-5.1.8.2.xpi
|
||||
|
||||
echo.
|
||||
if "%locale%"=="ru" (
|
||||
@ -124,7 +132,7 @@ goto :eof
|
||||
|
||||
:GET_ARCH
|
||||
set xOS=win32
|
||||
if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set xOS=win64
|
||||
REM if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set xOS=win64
|
||||
goto :eof
|
||||
|
||||
:eof
|
||||
|
@ -250,8 +250,8 @@ pref("network.proxy.type", 1);
|
||||
pref("network.cookie.prefsMigrated", true);
|
||||
pref("noscript.ABE.enabled", false);
|
||||
pref("noscript.ABE.wanIpAsLocal", false);
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.2");
|
||||
pref("noscript.version", "5.1.8.2");
|
||||
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
|
||||
pref("noscript.version", "5.1.8.3");
|
||||
pref("noscript.visibleUIChecked", true);
|
||||
pref("pdfjs.disabled", true);
|
||||
pref("pdfjs.enableWebGL", false);
|
||||
|
@ -6,7 +6,7 @@ REM See full license text in LICENSE file at top of project tree
|
||||
|
||||
echo ‘®§¤ ¥¬ 7z à娢 á ¡®à®¬...
|
||||
REM <20> ¢ë室¥ ¯®«ãç ¥¬ 7z à娢, ¢ ª®â®à®¬ ¡ã¤ãâ «¥¦ âì ¯ ¯ª¨ Firefox, I2Pd ¨ StartI2PdBrowser.bat ¨§ ¯ ¯ª¨ src ã஢¥¬ ¢ëè¥.
|
||||
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable_1.2.6.7z ..\..\windows\Firefox ..\..\I2Pd ..\src\StartI2PdBrowser.bat
|
||||
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable_1.2.6.7z ..\..\windows\Firefox ..\..\windows\i2pd ..\src\StartI2PdBrowser.bat
|
||||
|
||||
echo ƒ®â®¢®!
|
||||
pause
|
@ -6,7 +6,7 @@ REM See full license text in LICENSE file at top of project tree
|
||||
|
||||
echo ‘®§₪ ¥¬ 7z או¨¢ ב ¡®א®¬...
|
||||
REM <20> ¢כו®₪¥ ¯®«דח ¥¬ 7z או¨¢, ¢ ×®ג®א®¬ ¡ד₪דג «¥¦ גל ¯ ¯×¨ Firefox, I2Pd, src ¨ ה ©« StartI2PdBrowser.exe דא®¢¥¬ ¢כט¥.
|
||||
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable.7z ..\..\Firefox ..\..\I2Pd ..\src ..\StartI2PdBrowser.exe
|
||||
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable.7z ..\..\windows\Firefox ..\..\windows\i2pd ..\src ..\StartI2PdBrowser.exe
|
||||
|
||||
echo ‘®§₪ ¥¬ 7z SFX - ב ¬®א ב¯ ×®¢כ¢ מי¨©בן או¨¢...
|
||||
REM <20> ¢כו®₪¥ ¯®«דח ¥¬ ב ¬®א ב¯ ×®¢כ¢ מי¨©בן או¨¢, או¨¢ ¯®ב«¥ םג®£® ד₪ «ן¥¬.
|
||||
|
Loading…
Reference in New Issue
Block a user