mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-10-21 09:08:38 +02:00
added ability to create HTTP proxy tunnel quit immediately it we detect i2p-zero is already running (by checking for tunnelcontrol port 30000 in use) after attempted shutdown, force shutdown after 2 seconds. this is because if there is a shutdown prior to tunnels having opened, there could be a delay of up to 20 seconds before those opening tunnels exit their sleep and start responding added GUI tab to set up a personal eepsite (via embedded jetty)
23 lines
701 B
Bash
Executable File
23 lines
701 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $(uname -s) = Darwin ]; then
|
|
basedir=$(dirname $(cd "$(dirname "$0")"; pwd -P))
|
|
else
|
|
basedir=$(dirname $(dirname $(readlink -fm $0)))
|
|
fi
|
|
|
|
rm -fr "$basedir/target" "$basedir/dist"
|
|
|
|
# retrieve the I2P Java sources, OpenJDK and the Ant build tool
|
|
"$basedir"/bin/import-packages.sh
|
|
|
|
# build the i2p project retrieved from the I2P repository
|
|
"$basedir"/bin/build-original-i2p.sh
|
|
|
|
# convert the jar files from an existing I2P build into modules suitable for use with jlink
|
|
"$basedir"/bin/convert-jars-to-modules.sh
|
|
|
|
# compile the Java source code in this project, and then use the jlink tool
|
|
# to build a zero-dependency platform-specific launcher
|
|
"$basedir"/bin/build-launcher.sh
|