forked from I2P_Developers/i2p.i2p
message tweaks if no wrapperr
This commit is contained in:
@ -179,7 +179,11 @@ public class UpdateHandler {
|
|||||||
restart();
|
restart();
|
||||||
} else {
|
} else {
|
||||||
_log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart");
|
_log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart");
|
||||||
_status = "<b>Update downloaded</b><br />Click Restart to Install";
|
_status = "<b>Update downloaded</b><br />";
|
||||||
|
if (System.getProperty("wrapper.version") != null)
|
||||||
|
_status += "Click Restart to install";
|
||||||
|
else
|
||||||
|
_status += "Click Shutdown and restart to install";
|
||||||
if (up.newVersion() != null)
|
if (up.newVersion() != null)
|
||||||
_status += " Version " + up.newVersion();
|
_status += " Version " + up.newVersion();
|
||||||
}
|
}
|
||||||
|
@ -1029,7 +1029,10 @@ public class Router {
|
|||||||
System.out.println("ERROR: Unable to delete the update file!");
|
System.out.println("ERROR: Unable to delete the update file!");
|
||||||
updateFile.deleteOnExit();
|
updateFile.deleteOnExit();
|
||||||
}
|
}
|
||||||
System.out.println("INFO: Restarting after update");
|
if (System.getProperty("wrapper.version") != null)
|
||||||
|
System.out.println("INFO: Restarting after update");
|
||||||
|
else
|
||||||
|
System.out.println("WARNING: Exiting after update, restart I2P");
|
||||||
System.exit(EXIT_HARD_RESTART);
|
System.exit(EXIT_HARD_RESTART);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user