- 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:
walking
2010-04-27 15:01:03 +00:00
parent 46f341d782
commit c212eacf19
12 changed files with 519 additions and 21 deletions

View 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

View 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

View 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