Commit Graph

35 Commits

Author SHA1 Message Date
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
idk 0c3fe5b37d Find the path by finding the JRE and traversing up 2021-04-03 19:53:09 -04:00
idk b8a4633113 Find the path by finding the JRE and traversing up 2021-04-03 19:16:32 -04:00
idk b4b09ea5da Try not setting the base dir for now since that seems to be causing it to stall on my wiwindows machine 2021-04-03 18:45:30 -04:00
idk 4df405978f Print some stuff for debugging 2021-04-03 18:37:17 -04:00
idk cb821a72ad set i2p.dir.base to PROGRAMFILES/i2p 2021-04-03 18:24:59 -04:00
idk 8218591986 Configure for ProgramFiles based installs 2021-04-03 18:08:44 -04:00
idk 9998692bbd Start a WinLauncher 2021-04-03 16:39:26 -04:00