Add the path to $I2P to eepget.bat

Allow eepget.bat to be called from any location or copied to any location by
adding the full path to the i2p router.
This commit is contained in:
kytv
2011-09-12 10:38:30 +00:00
parent d084d18cfa
commit 435bc826d3
2 changed files with 4 additions and 2 deletions

View File

@@ -134,6 +134,7 @@
<parsable targetfile="$INSTALL_PATH/wrapper.config" type="plain" />
<parsable targetfile="$INSTALL_PATH/i2prouter" type="shell" os="unix|mac" />
<parsable targetfile="$INSTALL_PATH/eepget" type="shell" os="unix|mac" />
<parsable targetfile="$INSTALL_PATH/eepget.bat" type="shell" osfamily="windows" />
<parsable targetfile="$INSTALL_PATH/runplain.sh" type="shell" os="unix|mac" />
<parsable targetfile="$INSTALL_PATH/Start I2P Router.app/Contents/MacOS/i2prouter" type="shell" os="mac" />

View File

@@ -1,2 +1,3 @@
@echo off
java -cp lib/i2p.jar net.i2p.util.EepGet %1 %2 %3 %4 %5
@echo off
set _I2PHOME=%INSTALL_PATH
java -cp "%_I2PHOME%\lib\i2p.jar" net.i2p.util.EepGet %1 %2 %3 %4 %5