Package net.i2p.router.tasks
Class InstallUpdate
- java.lang.Object
-
- net.i2p.router.tasks.InstallUpdate
-
public class InstallUpdate extends Object
If the i2pupdate.zip file is present, unzip it and JVM exit.- Since:
- 0.9.20 moved from Router.java
-
-
Constructor Summary
Constructors Constructor Description InstallUpdate()
-
-
-
Method Detail
-
installUpdates
public static void installUpdates(Router r)
Context must be available. Unzip update file found in the router dir OR base dir, to the base dir If successful, will call exit() and never return. If we can't write to the base dir, write message to System.out and return. Note: _log not available here.
-
-