Commit Graph

57 Commits

Author SHA1 Message Date
idk
ba0e2fb8c0 Reduce rate-limit on restarts to one a minute, 2 minutes is too long 2022-08-21 11:16:21 -04:00
idk
54be1d3acd don't return after private browsing check 2022-08-21 00:49:29 -04:00
idk
6de7e95a4b always install exe but don't always install own config files 2022-08-20 23:26:03 -04:00
idk
50b00c6c88 launch I2P.exe with the shortcut instead of i2pbrowser.bat 2022-08-07 23:20:12 -04:00
idk
49d52e150b update i2pfirefox jar 2022-08-07 22:58:37 -04:00
idk
3930c6750d make the java launcher handle the Firefox launch automatically if the router is already running 2022-08-07 22:00:17 -04:00
idk
cead2e1133 prioritize host check 2022-08-07 21:36:09 -04:00
idk
06f7521e2e add i2pfirefox to the result if I2P is already running 2022-08-07 21:25:58 -04:00
idk
a7c5151b56 make i2pIsRunning behavior consistent for both tests 2022-05-20 18:46:34 -04:00
idk
23ae110698 move i2pIsRunning further up in launcher 2022-05-20 18:44:39 -04:00
idk
46ef089acc check for router.ping to determine if there's another I2P running 2022-05-20 18:42:35 -04:00
idk
e3f42a42bd log launcher into a file before router starts, launcher.log. Get rid of system.out logging. 2022-05-10 18:11:45 -04:00
idk
3da8f56247 log launcher into a file before router starts, launcher.log. Get rid of system.out logging. 2022-05-10 18:00:21 -04:00
idk
31c60f74e1 log launcher into a file before router starts, launcher.log. Get rid of system.out logging. 2022-05-10 17:49:40 -04:00
idk
4ce272765f check if the console is up before continuing 2022-03-25 18:47:48 -04:00
idk
9da43b3961 Try a way of determining required rights for the installer 2022-03-21 11:04:27 -04:00
idk
a28bb6ac3c Fix package imports, copy over the elevator functions 2022-03-20 02:41:09 -04:00
idk
fe99c7bb05 Check in Shell32X.java and see if it builds on a real Windows machine? 2022-03-19 16:39:06 -04:00
idk
3391c23abd Null check path_override 2022-02-20 20:29:47 -05:00
idk
723b4d0e27 Switch I2P and I2P_CONFIG for environment variable based install-path configuration 2022-02-19 11:13:27 -05:00
idk
1d0cf4aba7 make the path that the install and config are placed in configurable 2022-02-17 16:02:13 -05:00
idk
f910ec2dde Get rid of WindowsUpdatePostProcessor() constructor with no arguments, since this will lead to a null context which will break everything and is not useful/used anyway 2022-02-11 14:42:37 -05:00
idk
36b0618b8d Loop on the CAM until the CAM is non-null to prevent a situation where the null CAM is used to call getRegisteredApp, apparenly due to a race condition somewhere 2022-02-11 13:10:50 -05:00
idk
8200d65eb5 Don't use a static global UPP 2022-02-11 01:34:58 -05:00
idk
56a83972e4 Split the Makefile up into a bunch of categorized sub-files. 2022-02-09 21:43:30 -05:00
idk
15a2386981 Use a "static" filename, ending in exe, in moveUpdateInstaller in case of differences in file-extension handling across various Windows platforms and configurations 2021-08-19 11:46:15 -04:00
idk
8aefcff4b1 Check return value of renameTo, if false throw an IOException. 2021-08-18 14:57:30 -04:00
idk
1b35c8dc8b use a supplier to get the file path when starting the WinUpdateProcess, fix logging issues 2021-08-18 13:28:08 -04:00
idk
2b95573f7a Fix working directory which was still copied over from zab's 2021-08-15 18:41:53 -04:00
idk
51aa9a97b1 Build the process with processbuilder, check the I2P version when upgrading from NSIS in silent mode, check the RESTART_I2P environment variable when upgrading from NSIS in silent mode 2021-08-15 14:42:02 -04:00
idk
8737093b6d add WinUpdateProcess.java to the java src's 2021-08-14 10:17:56 -04:00
idk
688b9ca309 Fixes for many, but not all the things from zab's code review 2021-08-14 02:08:45 -04:00
idk
cd15ee07c1 Force a non-x86 ProgramFiles path 2021-08-02 17:51:47 -04:00
idk
5218f18599 Make sure working config dir is created. Add Tor Browser support to .bat scripts. Register UPP in a thread, see @zlatinb's example in i2p-jpackage-mac. 2021-08-02 17:04:44 -04:00
idk
b79044bcce fix static references in Winlauncher And WindowsUpdatePostProcessor 2021-08-02 14:17:02 -04:00
idk
7ef6e9149d fix build issues, allow overriding i2p version with a file 2021-07-15 15:48:34 -04:00
idk
a8117ce0fc move the updated installer to the application directory, pass the renamed file the the thing that starts the process. Don't start the shutdown or monitor it in any way. 2021-07-13 21:49:02 -04:00
idk
b5de7de981 update jpackages, remove debian dir, that will be merged from EXPERIMENTAL-debian 2021-07-06 13:57:23 -04:00
idk
59dc5d65e0 Add missing line to while loop 2021-07-04 10:35:07 -04:00
idk
6165131c66 When a Silent installer is run, loop until there isn't an I2P.exe process anymore. 2021-07-03 22:39:54 -04:00
idk
a5db548ad5 Get the exe path not the dir 2021-07-01 20:32:09 -04:00
idk
7dfd857b43 Cancel if shutdownGracefullyAndRerun returns false 2021-07-01 20:22:37 -04:00
idk
008025d76f Don't pass the /D flag it's not required 2021-07-01 20:18:39 -04:00
idk
755a47d6f2 Make WinLauncher extend WindowsUpdatePostProcessor 2021-07-01 20:05:21 -04:00
idk
97f3dbd71f OK I think that registers it 2021-07-01 19:52:21 -04:00
idk
ffd7bfb834 Set up NSIS to be silennt 2021-07-01 18:30:23 -04:00
idk
ab58ec31ff I think that might be a working UpdatePostProcessor, now to figure out how to register it 2021-07-01 18:20:16 -04:00
idk
da9f7695a7 Start working on an updater thing for the jpackage builds 2021-07-01 16:55:29 -04:00
idk
8424727dae Windows does not *seem* to have an application power saving mode that would affect I2P at this time. 2021-05-25 13:50:18 -04:00
idk
10f02140a3 Make it possible to optionally generate jpackage which can be added to a Linux tar.gzipped firefox profile+script. If a Firefox is added to this .tar.gz in a directory called ./firefox/, and that Firefox is configured to be portable and avoid the disk, the launching script will favor the local Firefox and it *should* never need to touch anything outside the directory it's unpacked in, making it usable from a flash drive without touching the disk on a host, for instance. More generally, forming the basis of a TBB-like package 2021-05-25 13:46:37 -04:00