Compare commits
38 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
93b197efb9 | ||
![]() |
09ffb8edbe | ||
![]() |
cdc3224eaa | ||
![]() |
2eeb2106fc | ||
![]() |
26a7944470 | ||
![]() |
b97d581fcc | ||
![]() |
615818976a | ||
![]() |
e6fc5a349d | ||
![]() |
3718d2edb9 | ||
![]() |
4a55a8d4ab | ||
![]() |
a3a45b01e5 | ||
![]() |
e07c43f1eb | ||
![]() |
fd75a7e244 | ||
![]() |
0e77d53c15 | ||
![]() |
4dd9448752 | ||
![]() |
b220697af2 | ||
![]() |
d9cffc9520 | ||
![]() |
c8590e4fe5 | ||
![]() |
3c8b1b6d28 | ||
![]() |
460837d7f5 | ||
![]() |
2bd3abe6bb | ||
![]() |
5ef6118b91 | ||
![]() |
394f58f90e | ||
![]() |
5ee89f98a9 | ||
![]() |
6736d527a2 | ||
![]() |
ef203ba935 | ||
![]() |
3749f49641 | ||
![]() |
d63128096c | ||
![]() |
51cb4c608a | ||
![]() |
f920fa8090 | ||
![]() |
252a80eb72 | ||
![]() |
ed7814cd74 | ||
![]() |
073ba01da6 | ||
![]() |
7caf03d6e4 | ||
![]() |
c3934ab4e4 | ||
![]() |
54ffdc2352 | ||
![]() |
ab2548ecd4 | ||
![]() |
5cf5d56738 |
1
build.sh
1
build.sh
@@ -41,6 +41,7 @@ sleep 5s
|
|||||||
HERE="$PWD"
|
HERE="$PWD"
|
||||||
if [ ! -d "$HERE/../i2p.i2p.jpackage-build/" ]; then
|
if [ ! -d "$HERE/../i2p.i2p.jpackage-build/" ]; then
|
||||||
git clone -b "$VERSION" https://i2pgit.org/i2p-hackers/i2p.i2p "$HERE/../i2p.i2p.jpackage-build/"
|
git clone -b "$VERSION" https://i2pgit.org/i2p-hackers/i2p.i2p "$HERE/../i2p.i2p.jpackage-build/"
|
||||||
|
tar --exclude="$HERE/../i2p.i2p.jpackage-build/.git" cvzf i2p.i2p.jpackage-build.tar.gz "$HERE/../i2p.i2p.jpackage-build/"
|
||||||
fi
|
fi
|
||||||
cd "$HERE/../i2p.i2p.jpackage-build/"
|
cd "$HERE/../i2p.i2p.jpackage-build/"
|
||||||
for i in $COUNT; do
|
for i in $COUNT; do
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
2022-09-06 idk
|
||||||
|
* Point release 1.9.5, fixes a bug which occurs more often on Windows 11, fixes a SusiDNS issue
|
||||||
|
|
||||||
2022-08-28 idk
|
2022-08-28 idk
|
||||||
* Migrate away from batch scripts and simply launch a browser if I2P is already running.
|
* Migrate away from batch scripts and simply launch a browser if I2P is already running.
|
||||||
This is more flexible, stable, and simplet to install
|
This is more flexible, stable, and simplet to install
|
||||||
|
3
clean.sh
3
clean.sh
@@ -28,5 +28,6 @@ rm -rf \
|
|||||||
wrapper.log \
|
wrapper.log \
|
||||||
*.jar \
|
*.jar \
|
||||||
*.exe \
|
*.exe \
|
||||||
*.dmg
|
*.dmg \
|
||||||
|
*.tar.gz
|
||||||
make clean
|
make clean
|
32
config.sh
32
config.sh
@@ -3,16 +3,28 @@
|
|||||||
## If you need to use a different JVM, JDK, or other utility from
|
## If you need to use a different JVM, JDK, or other utility from
|
||||||
# build.sh, set it in this file, for example:
|
# build.sh, set it in this file, for example:
|
||||||
|
|
||||||
|
uname=$(uname)
|
||||||
|
|
||||||
#export PATH="$PATH:/c/Program Files/Java/jdk-17.0.3/bin/"
|
#export PATH="$PATH:/c/Program Files/Java/jdk-17.0.3/bin/"
|
||||||
#export JAVA_HOME="/c/Program Files/Java/jdk-17.0.3"
|
#export JAVA_HOME="/c/Program Files/Java/jdk-17.0.3"
|
||||||
# to use it for Oracle OpenJDK17
|
# to use it for Oracle OpenJDK17
|
||||||
|
|
||||||
## Other potential values(NOT exhaustive):
|
## Other potential values(NOT exhaustive):
|
||||||
|
|
||||||
PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
if [[ -n "$IS_WSL" || -n "$WSL_DISTRO_NAME" ]]; then
|
||||||
export PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
||||||
JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
export PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
||||||
export JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
||||||
|
export JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${uname}" != "Linux" ]; then
|
||||||
|
PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
||||||
|
export PATH="/c/Program Files/Java/jdk-18.0.2/bin/:$PATH:/c/Program Files/Java/jdk-18.0.2/bin/"
|
||||||
|
JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
||||||
|
export JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
||||||
|
fi
|
||||||
|
|
||||||
#export PATH="$PATH:/c/Program Files/Eclipse Adoptium/jdk-17.0.3/bin/"
|
#export PATH="$PATH:/c/Program Files/Eclipse Adoptium/jdk-17.0.3/bin/"
|
||||||
#export JAVA_HOME="/c/Program Files/Eclipse Adoptium/jdk-17.0.3"
|
#export JAVA_HOME="/c/Program Files/Eclipse Adoptium/jdk-17.0.3"
|
||||||
#export PATH="$PATH:/c/Program Files/OpenJDK/jdk-17.0.3/bin/"
|
#export PATH="$PATH:/c/Program Files/OpenJDK/jdk-17.0.3/bin/"
|
||||||
@@ -49,6 +61,12 @@ export JAVA_HOME="/c/Program Files/Java/jdk-18.0.2"
|
|||||||
#export ANT_HOME="/c/apache-ant-1.10.9"
|
#export ANT_HOME="/c/apache-ant-1.10.9"
|
||||||
#export PATH="$PATH:$ANT_HOME/bin/"
|
#export PATH="$PATH:$ANT_HOME/bin/"
|
||||||
|
|
||||||
# Uncomment this to add signtool to the path so you don't have to fight with Visual Studio.
|
if [[ -n "$IS_WSL" || -n "$WSL_DISTRO_NAME" ]]; then
|
||||||
PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
||||||
export PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
export PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${uname}" != "Linux" ]; then
|
||||||
|
PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
||||||
|
export PATH="$PATH:/c/Program Files (x86)/Windows Kits/10/App Certification Kit/"
|
||||||
|
fi
|
4
daily.sh
4
daily.sh
@@ -49,3 +49,7 @@ tar -a -cf ../I2P.zip I2P
|
|||||||
ZIPCHECKSUM=$(sha256sum "../I2P.zip")
|
ZIPCHECKSUM=$(sha256sum "../I2P.zip")
|
||||||
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
||||||
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "../I2P.zip" -l "$ZIPCHECKSUM" -t "$TODAYSDATE" -n "I2P.zip"
|
||||||
|
|
||||||
|
TARCHECKSUM=$(sha256sum "i2p.i2p.jpackage-build.tar.gz")
|
||||||
|
echo github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
||||||
|
github-release upload -R -u "$GITHUB_USERNAME" -r "i2p.firefox" -f "i2p.i2p.jpackage-build.tar.gz" -l "Upstream I2P Router source code $TARCHECKSUM" -t "$TODAYSDATE" -n "i2p.i2p.jpackage-build.tar.gz"
|
||||||
|
@@ -24,8 +24,8 @@ tunnel.0.listenPort=4444
|
|||||||
tunnel.0.proxyList=false.i2p
|
tunnel.0.proxyList=false.i2p
|
||||||
tunnel.0.i2cpHost=127.0.0.1
|
tunnel.0.i2cpHost=127.0.0.1
|
||||||
tunnel.0.i2cpPort=7654
|
tunnel.0.i2cpPort=7654
|
||||||
tunnel.0.option.inbound.nickname=shared clients
|
tunnel.0.option.inbound.nickname=HTTP Proxy
|
||||||
tunnel.0.option.outbound.nickname=shared clients
|
tunnel.0.option.outbound.nickname=HTTP Proxy
|
||||||
tunnel.0.option.i2cp.leaseSetEncType=4,0
|
tunnel.0.option.i2cp.leaseSetEncType=4,0
|
||||||
tunnel.0.option.i2cp.reduceIdleTime=900000
|
tunnel.0.option.i2cp.reduceIdleTime=900000
|
||||||
tunnel.0.option.i2cp.reduceOnIdle=true
|
tunnel.0.option.i2cp.reduceOnIdle=true
|
||||||
|
17
i2pversion
17
i2pversion
@@ -2,20 +2,15 @@
|
|||||||
|
|
||||||
JNA_VERSION=5.11.0
|
JNA_VERSION=5.11.0
|
||||||
export JNA_VERSION=5.11.0
|
export JNA_VERSION=5.11.0
|
||||||
I2PFIREFOX_VERSION=0.0.22
|
I2PFIREFOX_VERSION=0.0.34
|
||||||
export I2PFIREFOX_VERSION=0.0.22
|
export I2PFIREFOX_VERSION=0.0.34
|
||||||
#Comment this out to build from an alternate branch or
|
# Comment this out to build from an alternate branch or
|
||||||
# the tip of the master branch.
|
# the tip of the master branch.
|
||||||
VERSIONMAJOR=1
|
VERSIONMAJOR=1
|
||||||
VERSIONMINOR=9
|
VERSIONMINOR=9
|
||||||
VERSIONBUILD=1
|
VERSIONBUILD=5
|
||||||
I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
||||||
export I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
export I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
||||||
VERSION=i2p-jpackage-1.9.1
|
VERSION=i2p-jpackage-1.9.4
|
||||||
export VERSION=i2p-jpackage-1.9.1
|
export VERSION=i2p-jpackage-1.9.4
|
||||||
|
|
||||||
#Uncomment this to build from the tip of the master.
|
|
||||||
#I2P_VERSION=1.8.0
|
|
||||||
#export I2P_VERSION=1.8.0
|
|
||||||
#VERSION=master
|
|
||||||
#export VERSION="$VERSION"
|
|
||||||
|
@@ -51,23 +51,48 @@ public class WinLauncher {
|
|||||||
boolean privateBrowsing = false;
|
boolean privateBrowsing = false;
|
||||||
boolean usabilityMode = false;
|
boolean usabilityMode = false;
|
||||||
boolean chromiumFirst = false;
|
boolean chromiumFirst = false;
|
||||||
|
int proxyTimeoutTime = 200;
|
||||||
|
ArrayList<String> newArgsList = new ArrayList<String>();
|
||||||
|
|
||||||
if (args != null) {
|
if (args != null) {
|
||||||
if (args.length > 0) {
|
if (args.length > 0) {
|
||||||
logger.info("checking for private browsing");
|
for (String arg : args) {
|
||||||
if (args[0].equals("-private")) {
|
if (arg.equals("-private")) {
|
||||||
privateBrowsing = true;
|
privateBrowsing = true;
|
||||||
logger.info(
|
logger.info(
|
||||||
"Private browsing is true, profile will be discarded at end of session.");
|
"Private browsing is true, profile will be discarded at end of session.");
|
||||||
}
|
} else if (arg.equals("-chromium")) {
|
||||||
if (args[0].equals("-chromium")) {
|
chromiumFirst = true;
|
||||||
chromiumFirst = true;
|
logger.info("Chromium will be selected before Firefox.");
|
||||||
logger.info("Chromium will be selected before Firefox.");
|
} else if (arg.equals("-usability")) {
|
||||||
}
|
usabilityMode = true;
|
||||||
if (args[0].equals("-usability")) {
|
logger.info(
|
||||||
usabilityMode = true;
|
"Usability mode is true, using alternate extensions loadout.");
|
||||||
logger.info(
|
} else if (arg.equals("-noproxycheck")) {
|
||||||
"Usability mode is true, using alternate extensions loadout.");
|
proxyTimeoutTime = 0;
|
||||||
|
logger.info("Proxy timeout time set to zero");
|
||||||
|
} else {
|
||||||
|
// make an effort to not let people launch into sites if the proxy
|
||||||
|
// isn't quite ready yet, but also disable the proxy timeout if
|
||||||
|
// they're reaching a router console
|
||||||
|
if (arg.startsWith("http://localhost:76")) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
proxyTimeoutTime = 0;
|
||||||
|
} else if (arg.startsWith("http://127.0.0.1:76")) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
proxyTimeoutTime = 0;
|
||||||
|
} else if (arg.startsWith("https://localhost:76")) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
proxyTimeoutTime = 0;
|
||||||
|
} else if (arg.startsWith("https://127.0.0.1:76")) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
proxyTimeoutTime = 0;
|
||||||
|
} else if (proxyTimeoutTime > 0) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
} else if (!isAvailable(4444)) {
|
||||||
|
newArgsList.add(arg);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -91,16 +116,18 @@ public class WinLauncher {
|
|||||||
" exists but is not a directory. Please get it out of the way");
|
" exists but is not a directory. Please get it out of the way");
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i2pIsRunning()) {
|
if (i2pIsRunning()) {
|
||||||
|
setNotRunning();
|
||||||
logger.warning("I2P is already running");
|
logger.warning("I2P is already running");
|
||||||
I2PBrowser i2pBrowser = new I2PBrowser();
|
I2PBrowser i2pBrowser = new I2PBrowser();
|
||||||
i2pBrowser.usability = usabilityMode;
|
i2pBrowser.usability = usabilityMode;
|
||||||
i2pBrowser.chromiumFirst = chromiumFirst;
|
i2pBrowser.chromiumFirst = chromiumFirst;
|
||||||
i2pBrowser.firefox = !chromiumFirst;
|
i2pBrowser.firefox = !chromiumFirst;
|
||||||
i2pBrowser.chromium = chromiumFirst;
|
i2pBrowser.chromium = chromiumFirst;
|
||||||
|
i2pBrowser.setProxyTimeoutTime(proxyTimeoutTime);
|
||||||
System.out.println("I2PBrowser");
|
System.out.println("I2PBrowser");
|
||||||
i2pBrowser.launch(privateBrowsing);
|
String[] newArgs = newArgsList.toArray(new String[newArgsList.size()]);
|
||||||
|
i2pBrowser.launch(privateBrowsing, newArgs);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,7 +138,7 @@ public class WinLauncher {
|
|||||||
logger.info("\t" + System.getProperty("i2p.dir.base") + "\n\t" +
|
logger.info("\t" + System.getProperty("i2p.dir.base") + "\n\t" +
|
||||||
System.getProperty("i2p.dir.config") + "\n\t" +
|
System.getProperty("i2p.dir.config") + "\n\t" +
|
||||||
System.getProperty("router.pid"));
|
System.getProperty("router.pid"));
|
||||||
/**
|
/**
|
||||||
* IMPORTANT: You must set user.dir to the same directory where the
|
* IMPORTANT: You must set user.dir to the same directory where the
|
||||||
* jpackage is intstalled, or when the launcher tries to re-run itself
|
* jpackage is intstalled, or when the launcher tries to re-run itself
|
||||||
* to start the browser, it will start in the wrong directory and fail
|
* to start the browser, it will start in the wrong directory and fail
|
||||||
@@ -127,6 +154,7 @@ public class WinLauncher {
|
|||||||
registrationThread.setDaemon(true);
|
registrationThread.setDaemon(true);
|
||||||
registrationThread.start();
|
registrationThread.start();
|
||||||
|
|
||||||
|
setNotRunning();
|
||||||
// wupp.i2pRouter.runRouter();
|
// wupp.i2pRouter.runRouter();
|
||||||
RouterLaunch.main(args);
|
RouterLaunch.main(args);
|
||||||
}
|
}
|
||||||
@@ -143,8 +171,7 @@ public class WinLauncher {
|
|||||||
return portFree;
|
return portFree;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean i2pIsRunning() {
|
private static boolean i2pIsRunningCheck() {
|
||||||
sleep(2000);
|
|
||||||
// check if there's something listening on port 7657(Router Console)
|
// check if there's something listening on port 7657(Router Console)
|
||||||
if (!isAvailable(7657)) {
|
if (!isAvailable(7657)) {
|
||||||
return true;
|
return true;
|
||||||
@@ -153,8 +180,8 @@ public class WinLauncher {
|
|||||||
if (!isAvailable(7654)) {
|
if (!isAvailable(7654)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// check for the existence of router.ping file, if it's less then 2 minutes
|
// check for the existence of router.ping file, if it's less then 2
|
||||||
// old, exit
|
// minutes old, exit
|
||||||
File home = selectHome();
|
File home = selectHome();
|
||||||
File ping = new File(home, "router.ping");
|
File ping = new File(home, "router.ping");
|
||||||
if (ping.exists()) {
|
if (ping.exists()) {
|
||||||
@@ -169,6 +196,52 @@ public class WinLauncher {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void setNotRunning() {
|
||||||
|
File home = selectHome();
|
||||||
|
File running = new File(home, "running");
|
||||||
|
if (running.exists()) {
|
||||||
|
running.delete();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private static void setRunning() {
|
||||||
|
File home = selectHome();
|
||||||
|
File running = new File(home, "running");
|
||||||
|
if (!running.exists()) {
|
||||||
|
try {
|
||||||
|
running.createNewFile();
|
||||||
|
} catch (IOException e) {
|
||||||
|
logger.info(e.toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static boolean i2pIsRunning() {
|
||||||
|
File home = selectHome();
|
||||||
|
File running = new File(home, "running");
|
||||||
|
if (running.exists()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
setRunning();
|
||||||
|
File ping = new File(home, "router.ping");
|
||||||
|
if (ping.exists()) {
|
||||||
|
long diff = System.currentTimeMillis() - ping.lastModified();
|
||||||
|
if (diff > 60 * 1000) {
|
||||||
|
logger.info(
|
||||||
|
"router.ping exists and is more than 1 minute old, I2P does not appear to be running.");
|
||||||
|
logger.info("If I2P is running, report this as a bug.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (i2pIsRunningCheck())
|
||||||
|
return true;
|
||||||
|
for (int i = 0; i < 10; i++) {
|
||||||
|
if (i2pIsRunningCheck())
|
||||||
|
return true;
|
||||||
|
sleep(1000);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private static final Runnable REGISTER_UPP = () -> {
|
private static final Runnable REGISTER_UPP = () -> {
|
||||||
|
|
||||||
// first wait for the RouterContext to appear
|
// first wait for the RouterContext to appear
|
||||||
@@ -221,13 +294,13 @@ public class WinLauncher {
|
|||||||
File local = new File(appData, "Local");
|
File local = new File(appData, "Local");
|
||||||
File i2p;
|
File i2p;
|
||||||
i2p = new File(local, "I2P");
|
i2p = new File(local, "I2P");
|
||||||
logger.info("Windows jpackage wrapper started, using: " + i2p +
|
logger.info("Windows jpackage wrapper starting up, using: " + i2p +
|
||||||
" as base config");
|
" as base config");
|
||||||
return i2p.getAbsoluteFile();
|
return i2p.getAbsoluteFile();
|
||||||
} else {
|
} else {
|
||||||
File jrehome = new File(System.getProperty("java.home"));
|
File jrehome = new File(System.getProperty("java.home"));
|
||||||
File programs = new File(jrehome.getParentFile().getParentFile(), ".i2p");
|
File programs = new File(jrehome.getParentFile().getParentFile(), ".i2p");
|
||||||
logger.info("Linux portable jpackage wrapper started, using: " +
|
logger.info("Linux portable jpackage wrapper starting up, using: " +
|
||||||
programs + " as base config");
|
programs + " as base config");
|
||||||
return programs.getAbsoluteFile();
|
return programs.getAbsoluteFile();
|
||||||
}
|
}
|
||||||
|
29
msi.sh
Executable file
29
msi.sh
Executable file
@@ -0,0 +1,29 @@
|
|||||||
|
#! /usr/bin/env sh
|
||||||
|
|
||||||
|
## EXPERIMENTAL. PROBABLY WON'T SEE THE LIGHT OF DAY BUT MAYBE I GET LUCKY.
|
||||||
|
|
||||||
|
. ./config.sh
|
||||||
|
. ./i2pversion
|
||||||
|
jpackage --type app-image --name I2P --app-version "$I2P_VERSION" \
|
||||||
|
--verbose \
|
||||||
|
--java-options "-Xmx512m" \
|
||||||
|
--java-options "--add-opens java.base/java.lang=ALL-UNNAMED" \
|
||||||
|
--java-options "--add-opens java.base/sun.nio.fs=ALL-UNNAMED" \
|
||||||
|
--java-options "--add-opens java.base/java.nio=ALL-UNNAMED" \
|
||||||
|
--java-options "--add-opens java.base/java.util.Properties=ALL-UNNAMED" \
|
||||||
|
--java-options "--add-opens java.base/java.util.Properties.defaults=ALL-UNNAMED" \
|
||||||
|
$JPACKAGE_OPTS \
|
||||||
|
--resource-dir build \
|
||||||
|
--input build \
|
||||||
|
--verbose \
|
||||||
|
--type msi \
|
||||||
|
--win-dir-chooser \
|
||||||
|
--win-help-url "https://geti2p.net" \
|
||||||
|
--win-menu \
|
||||||
|
--win-menu-group "I2P Easy-Install Bundle" \
|
||||||
|
--win-shortcut \
|
||||||
|
--win-shortcut-prompt \
|
||||||
|
--win-per-user-install \
|
||||||
|
--license-file LICENSE.md \
|
||||||
|
--main-jar launcher.jar \
|
||||||
|
--main-class net.i2p.router.WinLauncher
|
@@ -1,5 +1,5 @@
|
|||||||
router.updateURL=http://ekm3fu6fr5pxudhwjmdiea5dovc3jdi66hjgop4c7z7dfaw7spca.b32.i2p/i2pwinupdate.su3
|
router.updateURL=http://ekm3fu6fr5pxudhwjmdiea5dovc3jdi66hjgop4c7z7dfaw7spca.b32.i2p/i2pwinupdate.su3
|
||||||
router.newsURL=http://dn3tvalnjz432qkqsvpfdqrwpqkw3ye4n4i2uyfr4jexvo3sp5ka.b32.i2p/news/win/beta/news.su3
|
router.newsURL=http://dn3tvalnjz432qkqsvpfdqrwpqkw3ye4n4i2uyfr4jexvo3sp5ka.b32.i2p/news/win/beta/news.su3
|
||||||
router.backupNewsURL=http://tc73n4kivdroccekirco7rhgxdg5f3cjvbaapabupeyzrqwv5guq.b32.i2p/win/beta/news.su3
|
router.backupNewsURL=http://tc73n4kivdroccekirco7rhgxdg5f3cjvbaapabupeyzrqwv5guq.b32.i2p/win/beta/news.su3
|
||||||
routerconsole.browser=I2P.exe
|
routerconsole.browser=I2P.exe -noproxycheck
|
||||||
router.disableTunnelTesting=false
|
router.disableTunnelTesting=false
|
@@ -1 +1 @@
|
|||||||
1.9.1
|
1.9.5
|
||||||
|
@@ -1 +1 @@
|
|||||||
!define I2P_VERSION 1.9.1
|
!define I2P_VERSION 1.9.5
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
!define VERSIONMAJOR 1
|
!define VERSIONMAJOR 1
|
||||||
!define VERSIONMINOR 9
|
!define VERSIONMINOR 9
|
||||||
!define VERSIONBUILD 1
|
!define VERSIONBUILD 5
|
||||||
|
@@ -1 +1 @@
|
|||||||
1.9.1
|
1.9.5
|
||||||
|
Reference in New Issue
Block a user