forked from I2P_Developers/i2p.i2p
- add new target: pkg-portable-win32 (must run buildSmall first)
- add configs/win batchfiles to installer/resources/portable * currently only pkg-portable-win32 on win32 available need linuxers to write target preppkg-portable-nix/pkg-portable-linux and enable pkg-portable-win32 on linux (i doubt anyone need it ?) shell scripts should goto installer/resources/portable/configs/linux/
This commit is contained in:
8
installer/resources/portable/win32/ClickMe2Unpack.bat
Normal file
8
installer/resources/portable/win32/ClickMe2Unpack.bat
Normal file
@@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
path %path%;c:\program Files\Java\jre6\bin;
|
||||
echo ========== Unpacking .jar libs, plz wait ... ============
|
||||
for %%i in (lib\*.pack) do unpack200 -r %%i lib\%%~ni.jar
|
||||
ren batch1.na StartI2P.bat
|
||||
ren batch2.na EepGet.bat
|
||||
ren i2psvc.ex_ i2psvc.exe
|
||||
del ClickMe2UnPack.bat
|
||||
6
installer/resources/portable/win32/batch1.na
Normal file
6
installer/resources/portable/win32/batch1.na
Normal file
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
if not exist logs md logs
|
||||
if not exist tmp md tmp
|
||||
i2psvc -c wrapper.config
|
||||
if exist logs rd logs /s /q
|
||||
if exist tmp rd tmp /s /q
|
||||
16
installer/resources/portable/win32/batch2.na
Normal file
16
installer/resources/portable/win32/batch2.na
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
IF NOT "%1" == "%2" GOTO EEPGET
|
||||
ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
ECHO ~ EepGet provide resumable download from EepSite n' auto retry ~
|
||||
ECHO ~ Syntax: Eepget URL -o PathOfDownloadedFile ~
|
||||
ECHO ~ e.g.: Eepget http://www.i2p2.i2p/index.html -o e:\index.html ~
|
||||
ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
ECHO Please input URL and target Path
|
||||
SET /P eepURL=URL to download:
|
||||
SET /P eepLOC=Target Path for the downlaoded file:
|
||||
java -cp lib/i2p.jar net.i2p.util.EepGet %eepURL% -o %eepLOC%
|
||||
GOTO END
|
||||
:EEPGET
|
||||
java -cp lib/i2p.jar net.i2p.util.EepGet %1 %2 %3 %4 %5
|
||||
:END
|
||||
pause
|
||||
Reference in New Issue
Block a user