change message

This commit is contained in:
idk
2022-09-19 19:31:21 -04:00
parent b485d0630f
commit a54feb9550
3 changed files with 31 additions and 21 deletions

View File

@ -33,7 +33,7 @@ public class WinLauncher extends CopyConfigDir {
static WindowsUpdatePostProcessor wupp = null;
private static Router i2pRouter;
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
setupLauncher();
initLogger();
boolean privateBrowsing = false;
@ -88,6 +88,12 @@ public class WinLauncher extends CopyConfigDir {
File programs = programFile();
File home = homeDir();
boolean continuerunning = promptServiceStartIfAvailable("i2p");
if (!continuerunning){
logger.severe("Service startup failure, please start I2P service with services.msc");
System.exit(2);
}
// This actually does most of what we use NSIS for if NSIS hasn't
// already done it, which essentially makes this whole thing portable.
if (!copyConfigDir()) {