parent
1cf91416ed
commit
3e5764beac
BIN
StartI2PdBrowser.exe
Normal file
BIN
StartI2PdBrowser.exe
Normal file
Binary file not shown.
1
build/.gitignore
vendored
Normal file
1
build/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
I2PdBrowserPortable*.*
|
BIN
build/7z.exe
Normal file
BIN
build/7z.exe
Normal file
Binary file not shown.
BIN
build/7zsd_LZMA2_i2pdbrowser_1.1.sfx
Normal file
BIN
build/7zsd_LZMA2_i2pdbrowser_1.1.sfx
Normal file
Binary file not shown.
8
build/build_7z.bat
Normal file
8
build/build_7z.bat
Normal file
@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
|
||||
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.1.7z ..\Firefox ..\I2Pd ..\src\StartI2PdBrowser.bat
|
||||
|
||||
echo ƒ®â®¢®!
|
||||
pause
|
11
build/build_exe.bat
Normal file
11
build/build_exe.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
|
||||
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
|
||||
|
||||
echo ‘®§¤ ¥¬ 7z SFX - á ¬®à ᯠª®¢ë¢ î騩áï à娢...
|
||||
copy /b 7zsd_LZMA2_i2pdbrowser_1.1.sfx + config.txt + I2PdBrowserPortable.7z I2PdBrowserPortable_1.1.exe >> nul
|
||||
|
||||
echo ƒ®â®¢®!
|
||||
pause
|
9
build/config.txt
Normal file
9
build/config.txt
Normal file
@ -0,0 +1,9 @@
|
||||
;!@Install@!UTF-8!
|
||||
GUIFlags="2+4+8+16+32+64+1024+2048+4096"
|
||||
Title="Установка I2Pd Browser Portable"
|
||||
BeginPromptTimeout="30"
|
||||
BeginPrompt="Сейчас будет произведено извлечение:\n\tI2Pd Browser Portable"
|
||||
ExtractTitle="Подождите..."
|
||||
ExtractDialogText="Распаковка файлов..."
|
||||
InstallPath="%UserDesktop%\\I2PdBrowserPortable"
|
||||
;!@InstallEnd@!
|
5
src/Readme.txt
Normal file
5
src/Readme.txt
Normal file
@ -0,0 +1,5 @@
|
||||
В данной папке лежит исходный код батника и иконка от StartI2PdBrowser.exe,
|
||||
скопилированного с помощью "Advanced BAT to EXE".
|
||||
|
||||
Если вы числитесь в организации "Параноидальные круги", то скопируйте
|
||||
StartI2PdBrowser.bat в папку выше и запускайте его. Спасибо.
|
62
src/StartI2PdBrowser.bat
Normal file
62
src/StartI2PdBrowser.bat
Normal file
@ -0,0 +1,62 @@
|
||||
@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.0.4.0
|
||||
REM BFCPEVERPRODUCT=I2Pd Browser Portable
|
||||
REM BFCPEVERDESC=I2Pd Browser
|
||||
REM BFCPEVERCOMPANY=PurpleI2P
|
||||
REM BFCPEVERCOPYRIGHT=Copyright © 2013-2016 PurpleI2P Project
|
||||
REM BFCPEOPTIONEND
|
||||
@ECHO ON
|
||||
@echo off
|
||||
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 ==========================================================================
|
BIN
src/i2pd_browser_icon_v3.ico
Normal file
BIN
src/i2pd_browser_icon_v3.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
Loading…
Reference in New Issue
Block a user