Compare commits

..

4 Commits

Author SHA1 Message Date
eyedeekay
57b500a614 Increase i2p.plugins.firefox version 2024-03-10 00:58:54 -05:00
eyedeekay
078e542ef0 Delete redundant shortcuts 2024-03-09 23:13:19 -05:00
eyedeekay
81d81adc4c no more self-relaunch! 2024-03-08 22:48:24 -05:00
eyedeekay
b82986ccf4 set properties in constructor 2024-03-08 22:00:46 -05:00
3 changed files with 9 additions and 12 deletions

View File

@@ -2,8 +2,8 @@
JNA_VERSION=5.12.1
export JNA_VERSION=5.12.1
I2PFIREFOX_VERSION=1.4.7
export I2PFIREFOX_VERSION=1.4.7
I2PFIREFOX_VERSION=1.4.991
export I2PFIREFOX_VERSION=1.4.991
# Comment this out to build from an alternate branch or
# the tip of the master branch.
VERSIONMAJOR=2

View File

@@ -30,8 +30,8 @@ public class WinLauncher extends WindowsAppUtil {
private Router i2pRouter;
private final Log logger;
public WinLauncher() {
File programs = launcher.programFile();
File home = launcher.homeDir();
File programs = programFile();
File home = homeDir();
System.setProperty(
"i2p.dir.base",
@@ -122,12 +122,7 @@ public class WinLauncher extends WindowsAppUtil {
}
if (!launcher.isInstalled("i2p")) {
if (launcher.i2pRouter.saveConfig("routerconsole.browser", null)) {
launcher.logger.info("removed routerconsole.browser config");
}
if (launcher.i2pRouter.saveConfig("routerconsole.browser",
launcher.appImageExe() +
" -noproxycheck")) {
if (launcher.i2pRouter.saveConfig("routerconsole.browser", "NUL")) {
launcher.logger.info("updated routerconsole.browser config " +
launcher.appImageExe());
}

View File

@@ -181,11 +181,13 @@ Function installerFunction
SetOutPath "$INSTDIR"
createDirectory "$SMPROGRAMS\${APPNAME}"
CreateShortCut "$SMPROGRAMS\${APPNAME}\Browse I2P.lnk" "$INSTDIR\I2P.exe" "" "$INSTDIR\ui2pbrowser_icon.ico"
CreateShortCut "$SMPROGRAMS\${APPNAME}\Browse I2P - Temporary Identity.lnk" "$INSTDIR\I2P.exe -private" "" "$INSTDIR\ui2pbrowser_icon.ico"
Delete "$SMPROGRAMS\${APPNAME}\Browse I2P - Temporary Identity.lnk"
CreateShortCut "$DESKTOP\Browse I2P.lnk" "$INSTDIR\I2P.exe" "" "$INSTDIR\ui2pbrowser_icon.ico"
CreateShortCut "$DESKTOP\Browse I2P - Temporary Identity.lnk" "$INSTDIR\I2P.exe -private" "" "$INSTDIR\ui2pbrowser_icon.ico"
Delete "$DESKTOP\Browse I2P - Temporary Identity.lnk"
CreateShortCut "$SMPROGRAMS\${APPNAME}\Uninstall I2P Easy-Install Bundle.lnk" "$INSTDIR\uninstall-i2pbrowser.exe" "" "$INSTDIR\ui2pbrowser_icon.ico"
SetOutPath "$INSTDIR"