Browse Source

moved prebuilt bundle, added build scripts and tools for windows

Former-commit-id: f202272744
master
R4SAS 8 years ago
parent
commit
21376f5fef
  1. 0
      windows/StartI2PdBrowser.bat
  2. 99
      windows/build/build.cmd
  3. 4066
      windows/build/ca-bundle.crt
  4. BIN
      windows/build/curl.exe
  5. 32
      windows/build/profile/bookmarks.html
  6. 165
      windows/build/profile/prefs.js
  7. 1
      windows/build/profile/xulstore.json
  8. 4
      windows/build/settings/FirefoxPortable.ini
  9. 0
      windows_prebuilt/StartI2PdBrowser.exe
  10. 0
      windows_prebuilt/build/.gitignore
  11. BIN
      windows_prebuilt/build/7z.exe
  12. 0
      windows_prebuilt/build/7zsd_LZMA2_i2pdbrowser_1.1.2.sfx
  13. 0
      windows_prebuilt/build/build_7z.bat
  14. 0
      windows_prebuilt/build/build_exe.bat
  15. 0
      windows_prebuilt/build/config.txt
  16. 0
      windows_prebuilt/src/Readme.txt
  17. 65
      windows_prebuilt/src/StartI2PdBrowser.bat
  18. 0
      windows_prebuilt/src/i2pd_browser_icon_v3.ico

0
windows/src/StartI2PdBrowser.bat → windows/StartI2PdBrowser.bat

99
windows/build/build.cmd

@ -0,0 +1,99 @@
@echo off
setlocal enableextensions
set CURL=%~dp0curl.exe
call :GET_LOCALE
call :GET_PROXY
call :GET_ARCH
echo ‘¡®àª  I2Pd Browser Portable
echo ‘¨á⥬­ ï «®ª «ì: %locale%,  àå¨â¥ªâãà : %xOS%
echo.
echo £à㧪  ãáâ ­®¢é¨ª  Firefox Portable ESR
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2045.6.0/FirefoxPortableESR_45.6.0_%locale%.paf.exe %$X%
if errorlevel 1 (echo ERROR:%ErrorLevel%) else (echo OK!)
echo.
echo <EFBFBD> á¯ ª®¢ª  ãáâ ­®¢é¨ª  ¨ 㤠«¥­¨¥ ­¥ ­ã¦­ëå ä ©«®¢
7z x -y -o..\Firefox FirefoxPortableESR_45.6.0_%locale%.paf.exe > nul
del /Q FirefoxPortableESR_45.6.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\Other
del /Q ..\Firefox\App\readme.txt
del /Q ..\Firefox\help.html
rem if "xOS"=="x86" (
rem rmdir /S /Q ..\Firefox\App\Firefox64
rmdir /S /Q ..\Firefox\App\Firefox\dictionaries
rmdir /S /Q ..\Firefox\App\Firefox\uninstall
del /Q ..\Firefox\App\Firefox\browser\blocklist.xml
del /Q ..\Firefox\App\Firefox\crashreporter.*
del /Q ..\Firefox\App\Firefox\maintenanceservice*.*
del /Q ..\Firefox\App\Firefox\update*.*
rem ) else (
rem rmdir /S /Q ..\Firefox\App\Firefox
rmdir /S /Q ..\Firefox\App\Firefox64\dictionaries
rmdir /S /Q ..\Firefox\App\Firefox64\uninstall
del /Q ..\Firefox\App\Firefox64\browser\blocklist.xml
del /Q ..\Firefox\App\Firefox64\crashreporter.*
del /Q ..\Firefox\App\Firefox64\maintenanceservice*.*
del /Q ..\Firefox\App\Firefox64\update*.*
rem )
echo £à㧪  ¤®¯®«­¥­¨ï NoScript
"%CURL%" -L -f -# -O https://addons.mozilla.org/firefox/downloads/latest/noscript/addon-722-latest.xpi
if errorlevel 1 (echo ERROR:%ErrorLevel%) else (echo OK!)
if "xOS"=="x86" (
move /Y addon-722-latest.xpi ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi > nul
) else (
move /Y addon-722-latest.xpi ..\Firefox\App\Firefox64\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi > nul
)
echo Š®¯¨à®¢ ­¨¥ ä ©«®¢ ­ áâ஥ª ¢ ¯ ¯ªã Firefox
copy /Y profile\* ..\Firefox\App\DefaultData\profile\ > nul
copy /Y settings\FirefoxPortable.ini ..\Firefox\ > nul
echo £à㧪  I2Pd
if "xOS"=="x86" (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.11.0/i2pd_2.11.0_win32_mingw.zip
if errorlevel 1 (echo ERROR:%ErrorLevel%) else (echo OK!)
7z x -y -o..\i2pd i2pd_2.11.0_win32_mingw.zip > nul
del /Q i2pd_2.11.0_win32_mingw.zip
) else (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.11.0/i2pd_2.11.0_win64_mingw.zip
if errorlevel 1 (echo ERROR:%ErrorLevel%) else (echo OK!)
7z x -y -o..\i2pd i2pd_2.11.0_win64_mingw.zip > nul
del /Q i2pd_2.11.0_win64_mingw.zip
)
xcopy /E /I /Y i2pd\contrib\certificates ..\i2pd\certificates > nul
copy /Y i2pd\docs\i2pd.conf ..\i2pd\ > nul
copy /Y i2pd\docs\tunnels.conf ..\i2pd\ > nul
echo I2Pd Browser portable £®â®¢ ª § ¯ãáªã!
pause
exit
:GET_LOCALE
for /f "tokens=3" %%a in ('reg query "HKEY_USERS\.DEFAULT\Keyboard Layout\Preload"^|find "REG_SZ"') do (
if %%a==00000419 (set locale=Russian) else (set locale=English)
goto :eof
)
goto :eof
:GET_PROXY
set $X=&set $R=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
for /F "Tokens=1,3" %%i in ('reg query "%$R%"^|find "Proxy"') do set %%i=%%j
if %ProxyEnable%==0x1 set $X=-x %ProxyServer%
goto :eof
:GET_ARCH
set xOS=x86
if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set xOS=x64
goto :eof
:eof

4066
windows/build/ca-bundle.crt

File diff suppressed because it is too large Load Diff

BIN
windows/build/curl.exe

Binary file not shown.

32
windows/build/profile/bookmarks.html

@ -0,0 +1,32 @@
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1479561249" LAST_MODIFIED="1479561768" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
<DL><p>
<DT><A HREF="http://127.0.0.1:7070/" ADD_DATE="1479679427" LAST_MODIFIED="1479679570" ICON_URI="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiIAAC4iAari3ZIAAAAHdElNRQfgCQsUNSZrkhi1AAAAGXRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjEyQwRr7AAAAoJJREFUOE9jwAUqi4Q1oEwwcDTV1+5sETaBclGBvb09C5QJB6kWpvFQJoOCeLC5kmjEHCgXE2SlyETLi3h6QrkM4VL+ssWSCZUgtopITLKqaOotRTEncbAkLqAkGtOqLBLVAWLXyWSVFkkmRiqLxuaqiWb/VBYJMAYrwgckJY25VEUzniqKhjU2y+RtCRSP6lUXy/1jIBV5tlYxZUaFVMq2NInwIi9hO8fSfOEAqDZUoCwal6MulvOvyS7gi69K4j9zxZT/m0ps/28ptvvvquXXryIa7QYMMdTwqi0WNtVi0GIDseXl7TnUxFKfnGlxAGp0+D8j2eH/8Ub7/9e7nf7X+Af/B7rwt6pI0h0l0WhQADOC9DBkhSirpImHNVZKp24ukkyoshGLnN8d5fA/y13t/44Kq/8hlnL/z7fZ/58f6vcxSNpbVUVFhV1RLNBVTsQzVYZPSwhsCAhkiIfpNMrkbO6TLf071Sfk/5ZSi/+7q6z/P5ns+v9mj/P/CpuI/20y+aeNGYxZoVoYGmsF3aFMBAAZlCwftnF9ke3//bU2//fXWP8/UGv731Am+V+DdNblSqnUYqhSTKAiYSOqJBrVqiaa+S3UNPr/gmyH/xuKXf63hnn/B8bIP0UxHfEyyeSNQKVMEB1AEB2twhcTLp+gIBJUoyKasEpVJHmqskh8qryovUG/ffCHHRU2q/Tk/YuB6eGPsbExa7ZkpLu1oLEcVDtuUCgV1w60rQzElpRUE1EVSX0BYidHiInXF4nagNhYQW60EF+ApH1ktni0A1SIITSUgVlZJHYnlIsfzJjIp9xZKswL5YKBHL+coKJoRDaUSzoozxHVrygQU4JykQADAwAT5b1NHtwZugAAAABJRU5ErkJggg==" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiIAAC4iAari3ZIAAAAHdElNRQfgCQsUNSZrkhi1AAAAGXRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjEyQwRr7AAAAoJJREFUOE9jwAUqi4Q1oEwwcDTV1+5sETaBclGBvb09C5QJB6kWpvFQJoOCeLC5kmjEHCgXE2SlyETLi3h6QrkM4VL+ssWSCZUgtopITLKqaOotRTEncbAkLqAkGtOqLBLVAWLXyWSVFkkmRiqLxuaqiWb/VBYJMAYrwgckJY25VEUzniqKhjU2y+RtCRSP6lUXy/1jIBV5tlYxZUaFVMq2NInwIi9hO8fSfOEAqDZUoCwal6MulvOvyS7gi69K4j9zxZT/m0ps/28ptvvvquXXryIa7QYMMdTwqi0WNtVi0GIDseXl7TnUxFKfnGlxAGp0+D8j2eH/8Ub7/9e7nf7X+Af/B7rwt6pI0h0l0WhQADOC9DBkhSirpImHNVZKp24ukkyoshGLnN8d5fA/y13t/44Kq/8hlnL/z7fZ/58f6vcxSNpbVUVFhV1RLNBVTsQzVYZPSwhsCAhkiIfpNMrkbO6TLf071Sfk/5ZSi/+7q6z/P5ns+v9mj/P/CpuI/20y+aeNGYxZoVoYGmsF3aFMBAAZlCwftnF9ke3//bU2//fXWP8/UGv731Am+V+DdNblSqnUYqhSTKAiYSOqJBrVqiaa+S3UNPr/gmyH/xuKXf63hnn/B8bIP0UxHfEyyeSNQKVMEB1AEB2twhcTLp+gIBJUoyKasEpVJHmqskh8qryovUG/ffCHHRU2q/Tk/YuB6eGPsbExa7ZkpLu1oLEcVDtuUCgV1w60rQzElpRUE1EVSX0BYidHiInXF4nagNhYQW60EF+ApH1ktni0A1SIITSUgVlZJHYnlIsfzJjIp9xZKswL5YKBHL+coKJoRDaUSzoozxHVrygQU4JykQADAwAT5b1NHtwZugAAAABJRU5ErkJggg==" LAST_CHARSET="windows-1251">Purple I2P Webconsole</A>
<DD>Веб-панель управления миром
<DT><A HREF="http://333.i2p/" ADD_DATE="1479561480" LAST_MODIFIED="1479561480" LAST_CHARSET="UTF-8">333.i2p: Форум, посвященный разработке и поддержке i2pd</A>
<DD>333.i2p: Форум, посвященный разработке и поддержке i2pd
<DT><A HREF="http://102chan.i2p/" ADD_DATE="1479561317" LAST_MODIFIED="1479561317" ICON_URI="http://102chan.i2p/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHUlEQVQ4ja3TTStFURQG4Of4VjdfycCAkCjKwNeEMLrFSEopxcRHZsrEwISJgWQgzM39Af/Ab2AiP8IIg7NubdcxoPvW6bxr7Xefvd511qaGqIunggz1BbqsSvfnQ35NHuE2yY9go0Dfi+nq5AI+8RpxK97wgiGU5Hau8IFnnMvtaMEDbvAUH1jHO9owh90QX2I7NHfoESdsYgyPyeJF8AZcoz2puBNnaE5t9CU9uMdkpUQch++GqPgQg+nmDB04ifhU3sQK9jERfCvhWaLRib3gu5iXNy5DGU0Yxk5i7Ru6sBZ8FgfJ2mK8N8NCIUpYDd4on4uy/C+MY0rezGXMyOfhB/oSXo8VLEXcjVEMoD8qrj2yqrjogmUFuv/jC6o9H3l1oWaZAAAAAElFTkSuQmCC" LAST_CHARSET="UTF-8">102chan</A>
<DD>ИИ, живущий в даркнете, с кодовым названием "Тлено-тян"
<DT><A HREF="http://flibusta.i2p/" ADD_DATE="1479851686" LAST_MODIFIED="1479851790" ICON_URI="http://flibusta.i2p/sites/default/files/bluebreeze_favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACSUlEQVQ4jZXTTUzSARjH8f+Bmyc37NpFT126dOnmpempk1tz0xwezNwq1wbaaiBL1mJuEoaA5ghQiP1FAzWEJNDEmSTq1F4El7MZvkSTydRpfDu01otk9my/0/Pssz3P9giz0Qj+aPxIAv1DPBPFnL1fI/ijcUzR7JEYDA5UKh0G3xrtwys5Z0zRbG5A75xEq21FH0phsvsxdU/8H9DT40UURcKhAC6bDU1HP+aprycD2iJpgn4P4eAQS0tjbGws43a7MLu9JwOaWx9jMirRaZuxWc08sZqxWbUMeLppc8f+DVh7gwiCINisXSzORwn7BxBFKy6nDkePHVNk/3jA4Bjj8CDD6GiI1Od19jIpdtIpwsEhhn0Omu5bjgcsTjebySWmXr3k0/Is6yszJN7H8Hpc3Lleg74v/nfgWtsgtVcquKdupPFmDWq1HI1KhbFFTUV1NfpA8vgbFBaeoei0lLNFUk7l5yORSJBIJFwuKaG2shJXNEHH85WjQH8swcfXHlbfxmhoaODC+XMUSaUUFBSQl5fHpeJiBr0i29tJ3oW82NW3UWk6MYxsIvRadaS3PpD5ssru2gLZbJbDgwxbiRjxUQuJYDsLE0/Zm37E3riR7bkBVoOd2OuqkF+VI9jldcy98LKTTrGz6Gd3ppf0uIFUQE1qUEE2pGY/qCXi0NCluIi5XobqlpZWcf77CtNjPsz1MpIjD9gQm5i23CCgLsWlKKVPUcasqZw3xnK6qspw6rT4RiZ//8YfZVIqyZUWmYyHd5U/B/+ob3vQ/Nm4vJ+hAAAAAElFTkSuQmCC" LAST_CHARSET="UTF-8">Флибуста</A>
<DD>Флибуста - независимый библиотечный ресурс. Как и в любой библиотеке, просьба соблюдать чистоту, порядок и спокойствие. Здесь читают и работают хорошие люди.
<DT><A HREF="http://inr.i2p/" ADD_DATE="1479679523" LAST_MODIFIED="1479679523" LAST_CHARSET="UTF-8">I2P Name Registry</A>
<DD>Поиск и регистрация в i2p зоне
<DT><A HREF="http://identiguy.i2p/" ADD_DATE="1479679634" LAST_MODIFIED="1479679642" ICON_URI="http://identiguy.i2p/favicon.ico" ICON="data:image/png;base64,AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgnwAeIcAbZEAY5sAWKcATbEAQrwAOMYALdEAItsAGOYADfEAA/wAAP8AAP8AAP8AjnAAg3wAeIYAbZAAY5sAWKYATrAAQ7sAOMYALtEAI9sAGOYADvAAA/sAAP8AAP8AmWUAjnAAg3oAeYYAbpAAY5sAWKYATrAAQ7oAOMYALtAAJNoAGeYADu8AA/sAAP8Ao1sAmWUAjnAAg3oAeIUAbpAAZJoAWaYAT7AARLoAOcUAL9AAI9sAGeYADvAAA/sAr08ApFsAmWUAj28Ag3sAeYUAb5AAZJoAWaUAT7AAQ7sAOcUAL9AAJNoAGeUADvAAukQArk8ApFoAmWUAj28AhHoAeYQAb5AAZJoAWaUAT7AARLoAOsQAL88AJNoAGuUAxDoAukUArk8ApFoAmmUAj3AAhHoAeYQAb48AZJkAWaUAT68ARLoAOcUAL88AJNoAzy8AxDoAukUAr08ApFoAmmQAj28AhXoAeYQAb48AZJoAWqQAT68ARLoAOsQAL88A2iQAzy8AxTkAukQAr08ApVoAmmQAkG8AhXoAeoQAcI8AZZoAWqQAT64ARbkAOcQA5RgA2iQA0C8AxDkAukMAr08ApVkAmmMAkG4AhXkAe4QAb44AZZkAWqMAUK4ARbkA8A4A5RkA2iQAzy4AxTkAu0MAsE4AplgAm2QAkG4AhXgAe4QAcI8AZZkAWqMAT64A+gMA8A4A5RkA2yQA0C4AxTkAukMAsE4ApVkAm2MAkG4AhngAe4QAcI4AZZgAW6MA/wAA+wQA8A4A5RgA2yQA0C0AxjgAu0MAsE4AplgAm2MAkG0AhnkAe4MAcY4AZpgA/wAA/wAA+wMA8Q4A5hgA2yMA0C0AxjgAu0MAsU0AplgAnGMAkG0AhngAfIMAcI0A/wAA/wAA/wAA+wMA8Q0A5hgA3CIA0S0AxjgAu0MAsU0Ap1gAm2MAkW0AhncAe4MA/wAA/wAA/wAA/wAA/AMA8Q0A5xcA3CIA0S0AxzcAu0IAskwAp1cAnGIAkWwAhngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" LAST_CHARSET="windows-1252">IdentyGuy</A>
<DD>eepsites
<DT><A HREF="http://hashshop.i2p/" ADD_DATE="1479679481" LAST_MODIFIED="1479679492" ICON_URI="http://hashshop.i2p/favicon.ico" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA5klEQVQ4je2MsQqCUABF7+Ab4uEg+gcu+g1CS38QhVNJQUM0NkRDIESTaJOTi6P1D4FuDUbDQxDED3CKdsGWoiAs5+hMlwP3AL9JAMg7wAmAKACi+5YbnX1A3tPWIR30iut6WV7XyzId9Io9bR38JhEfcJJhvzgb+mXL82zL8+xs6Jdk2C98wPka8IAom45Ki1K2ArQVoFmUsmw6Kj0g+hpwgZjp3coE4ocz7859cbXYQJx32m+BvNOu7CYBRVEmYXisVFVdfHK1CIIwO52SSpKk+cOJovjmaiGEjDmO2xBCxp/cnyc3xQhcWzmwLm4AAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">HashShop</A>
<DD>Скачать торренты бесплатно без СМС
<DT><A HREF="http://onelon.i2p/feed/new" ADD_DATE="1479561488" LAST_MODIFIED="1479561488" ICON_URI="http://onelon.i2p/favicon.png" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wsZEC4vyY26WwAAAJFJREFUSMftlj0OwCAIhYF0r9fw/ofxGt7ADl1MQTFF0g68iRjzPn4MEQFO8BSBswIQALsO8TS3CgAF0yPmd3rxO0OAKk7NreZWOYO2uD/K/XQGfQo8Frs8GokM4INVrSfue1o0z4Bc3a2Ale6Rq7v1Fanuple04v7XbSpuhVGhL5ddwXRvN7VpGN+WAATAH3ABZKVRs6HJLusAAAAASUVORK5CYII=" LAST_CHARSET="UTF-8">#onelon</A>
<DD>onelon - анонимные блоги без цензуры
<DT><A HREF="http://pizdabol.i2p/armada.html" ADD_DATE="1479679877" LAST_MODIFIED="1479679907" LAST_CHARSET="UTF-8">Профессиональный Эксперт</A>
<DD>ARMADA Первый в мире Глобальный Хуяк сервис 24/7
</DL><p>
</DL>

165
windows/build/profile/prefs.js

@ -0,0 +1,165 @@
# Mozilla User Preferences
/*
* Copyright (c) 2013-2017, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
* the changes will be overwritten when the browser exits.
*
* To make a manual change to preferences, you can visit the URL about:config
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/
user_pref("app.update.auto", false);
user_pref("app.update.channel", "no");
user_pref("app.update.enabled", false);
user_pref("app.update.interval", 0);
user_pref("app.update.service.enabled", false);
user_pref("app.update.staging.enabled", false);
user_pref("app.update.timer", 0);
user_pref("browser.cache.disk.capacity", 131072);
user_pref("browser.casting.enabled", false);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.feeds.showFirstRunUI", false);
user_pref("browser.fixup.alternate.enabled", false);
user_pref("browser.newtabpage.enhanced", false);
user_pref("browser.newtabpage.introShown", true);
user_pref("browser.pocket.enabled", false);
user_pref("browser.pocket.useLocaleList", false);
user_pref("browser.rights.3.shown", true);
user_pref("browser.safebrowsing.appRepURL", "");
user_pref("browser.safebrowsing.downloads.enabled", false);
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
user_pref("browser.safebrowsing.enabled", false);
user_pref("browser.safebrowsing.gethashURL", "");
user_pref("browser.safebrowsing.keyURL", "localhost");
user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.safebrowsing.malware.reportURL", "");
user_pref("browser.safebrowsing.provider.google.appRepURL", "");
user_pref("browser.safebrowsing.provider.google.gethashURL", "");
user_pref("browser.safebrowsing.provider.google.lists", "");
user_pref("browser.safebrowsing.provider.google.reportURL", "");
user_pref("browser.safebrowsing.provider.google.updateURL", "");
user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
user_pref("browser.safebrowsing.provider.mozilla.lists", "");
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
user_pref("browser.safebrowsing.reportErrorURL", "");
user_pref("browser.safebrowsing.reportGenericURL", "");
user_pref("browser.safebrowsing.reportMalwareErrorURL", "");
user_pref("browser.safebrowsing.reportMalwareURL", "");
user_pref("browser.safebrowsing.reportPhishURL", "");
user_pref("browser.safebrowsing.reportURL", "");
user_pref("browser.safebrowsing.updateURL", "");
user_pref("browser.safebrowsing.warning.infoURL", "");
user_pref("browser.search.geoip.url", false);
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.selfsupport.url", "");
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/");
user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.tabs.crashReporting.sendReport", false);
user_pref("browser.tabs.loadInBackground", true);
user_pref("browser.urlbar.formatting.enabled", false);
user_pref("browser.urlbar.maxRichResults", 12);
user_pref("browser.urlbar.trimURLs", false);
user_pref("canvas.capturestream.enabled", false);
user_pref("datareporting.healthreport.about.reportUrl", "");
user_pref("datareporting.healthreport.about.reportUrlUnified", "");
user_pref("datareporting.healthreport.documentServerURI", "");
user_pref("datareporting.healthreport.pendingDeleteRemoteData", true);
user_pref("datareporting.healthreport.service.enabled", false);
user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled.v2", false);
user_pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
user_pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false);
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
user_pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed");
user_pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0");
user_pref("datareporting.policy.firstRunTime", "0");
user_pref("datareporting.sessions.current.clean", true);
user_pref("dom.battery.enabled", false);
user_pref("dom.disable_open_during_load", true);
user_pref("dom.enable_performance", false);
user_pref("dom.event.clipboardevents.enabled", false);
user_pref("dom.network.enabled", false);
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.getAddons.cache.enabled", false);
user_pref("extensions.getAddons.showPane", false);
user_pref("extensions.lazarus.showDonateNotification", false);
user_pref("extensions.shownSelectionUI", true);
user_pref("extensions.ui.lastCategory", "addons://list/extension");
user_pref("extensions.update.autoUpdateDefault", false);
user_pref("extensions.update.enabled", false);
user_pref("full-screen-api.approval-required", false);
user_pref("full-screen-api.warning.timeout", 0);
user_pref("general.buildID.override", "0");
user_pref("general.warnOnAboutConfig", false);
user_pref("geo.enabled", false);
user_pref("intl.locale.matchOS", true);
user_pref("keyword.enabled", false);
user_pref("media.eme.enabled", false);
user_pref("media.gmp-eme-adobe.enabled", false);
user_pref("media.gmp-gmpopenh264.enabled", false);
user_pref("media.gmp-gmpopenh264.provider.enabled", false);
user_pref("media.gmp-manager.url", "");
user_pref("media.peerconnection.enabled", false);
user_pref("network.cookie.prefsMigrated", true);
user_pref("network.dns.disableIPv6", true);
user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("network.protocol-handler.external.mailto", false);
user_pref("network.protocol-handler.external.news", false);
user_pref("network.protocol-handler.external.nntp", false);
user_pref("network.protocol-handler.external.snews", false);
user_pref("network.proxy.backup.ftp", "127.0.0.1");
user_pref("network.proxy.backup.ftp_port", 4444);
user_pref("network.proxy.backup.socks", "127.0.0.1");
user_pref("network.proxy.backup.socks_port", 4444);
user_pref("network.proxy.backup.ssl", "127.0.0.1");
user_pref("network.proxy.backup.ssl_port", 4444);
user_pref("network.proxy.ftp", "127.0.0.1");
user_pref("network.proxy.ftp_port", 4444);
user_pref("network.proxy.http", "127.0.0.1");
user_pref("network.proxy.http_port", 4444);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "127.0.0.1");
user_pref("network.proxy.socks_port", 4444);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.ssl", "127.0.0.1");
user_pref("network.proxy.ssl_port", 4444);
user_pref("network.proxy.type", 1);
user_pref("network.cookie.prefsMigrated", true);
user_pref("noscript.ABE.enabled", false);
user_pref("noscript.ABE.wanIpAsLocal", false);
user_pref("plugin.default_plugin_disabled", true);
user_pref("plugins.load_appdir_plugins", false);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("privacy.trackingprotection.enabled", true);
user_pref("reader.parse-on-load.enabled", false);
user_pref("reader.parse-on-load.force-enabled", false);
user_pref("security.ssl.errorReporting.automatic", false);
user_pref("security.ssl.errorReporting.enabled", false);
user_pref("services.sync.enabled", false);
user_pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
user_pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
user_pref("services.sync.prefs.sync.extensions.update.enabled", false);
user_pref("startup.homepage_welcome_url", "about:blank");
user_pref("startup.homepage_welcome_url.additional", "about:blank");
user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.enabled", false);
user_pref("toolkit.telemetry.optoutSample", false);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.unifiedIsOptIn", true);
user_pref("webgl.disable-extensions", true);
user_pref("webgl.min_capability_mode", true);

1
windows/build/profile/xulstore.json

@ -0,0 +1 @@
{"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"96"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"96"},"main-window":{"screenX":"0","screenY":"0","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"sidebar-title":{"value":""}}}

4
windows/build/settings/FirefoxPortable.ini

@ -0,0 +1,4 @@
[FirefoxPortableSettings]
LastProfileDirectory=NONE
SubmitCrashReport=0
AllowMultipleInstances=true

0
windows/StartI2PdBrowser.exe → windows_prebuilt/StartI2PdBrowser.exe

0
windows/build/.gitignore → windows_prebuilt/build/.gitignore vendored

BIN
windows_prebuilt/build/7z.exe

Binary file not shown.

0
windows/build/7zsd_LZMA2_i2pdbrowser_1.1.2.sfx → windows_prebuilt/build/7zsd_LZMA2_i2pdbrowser_1.1.2.sfx

0
windows/build/build_7z.bat → windows_prebuilt/build/build_7z.bat

0
windows/build/build_exe.bat → windows_prebuilt/build/build_exe.bat

0
windows/build/config.txt → windows_prebuilt/build/config.txt

0
windows/src/Readme.txt → windows_prebuilt/src/Readme.txt

65
windows_prebuilt/src/StartI2PdBrowser.bat

@ -0,0 +1,65 @@
@ECHO OFF
REM BFCPEOPTIONSTART
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
REM BFCPEEXE=StartI2PdBrowser.exe
REM BFCPEICON=i2pd_browser_icon_v3.ico
REM BFCPEICONINDEX=-1
REM BFCPEEMBEDDISPLAY=0
REM BFCPEEMBEDDELETE=1
REM BFCPEADMINEXE=0
REM BFCPEINVISEXE=0
REM BFCPEVERINCLUDE=1
REM BFCPEVERVERSION=1.1.2.0
REM BFCPEVERPRODUCT=I2Pd Browser Portable
REM BFCPEVERDESC=I2Pd Browser
REM BFCPEVERCOMPANY=PurpleI2P
REM BFCPEVERCOPYRIGHT=Copyright © 2013-2016 PurpleI2P Project
REM BFCPEOPTIONEND
REM Copyright (c) 2013-2017, The PurpleI2P Project
REM This file is part of Purple i2pd project and licensed under BSD3
REM See full license text in LICENSE file at top of project tree
title Starting I2Pd Browser
set $pause=ping.exe 0.0.0.0 -n
ver| find "6." >nul && set $pause=timeout.exe /t
set fire=firefox.exe
set port=FirefoxPortable.exe
set i2pd=i2pd.exe
taskList|find /i "%port%">nul&&(taskkill /im "%port%" /t>nul)&&(%$pause% 2 >nul)
REM taskList|find /i "%fire%">nul&&(taskkill /im "%fire%" >nul)
taskList|find /i "%i2pd%">nul&&(goto runfox)||(goto starti2p)
:starti2p
start "" "I2Pd/%i2pd%"
echo i2pd Browser starting
echo Please wait
echo -------------------------------------
for /L %%B in (0,1,35) do (call :EchoWithoutCrLf "." && %$pause% 2 >nul)
echo .
echo -------------------------------------
echo Welcome to I2P Network
:runfox
start "" "FireFox/%port%"
exit /b 0
rem ==========================================================================
rem ==========================================================================
rem Ïðîöåäóðà EchoWithoutCrLf
rem
rem %1 : òåêñò äëÿ âûâîäà.
rem ==========================================================================
:EchoWithoutCrLf
<nul set /p strTemp=%~1
exit /b 0
rem ==========================================================================

0
windows/src/i2pd_browser_icon_v3.ico → windows_prebuilt/src/i2pd_browser_icon_v3.ico

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Loading…
Cancel
Save