always install exe but don't always install own config files
This commit is contained in:
@ -50,6 +50,13 @@ public class WinLauncher {
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
boolean privateBrowsing = false;
|
||||
if (args != null && args.length > 0) {
|
||||
if (args[0].equals("-private")) {
|
||||
privateBrowsing = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
File programs = selectProgramFile();
|
||||
if (!programs.exists())
|
||||
@ -71,7 +78,7 @@ public class WinLauncher {
|
||||
logger.warning("I2P is already running");
|
||||
I2PFirefox i2pFirefox = new I2PFirefox();
|
||||
System.out.println("I2PFirefox");
|
||||
i2pFirefox.launch();
|
||||
i2pFirefox.launch(privateBrowsing);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -190,9 +190,6 @@ Function firefoxDetect
|
||||
FunctionEnd
|
||||
|
||||
Function routerDetect
|
||||
${If} ${FileExists} "$I2PINSTEXE"
|
||||
Abort directory
|
||||
${Else}
|
||||
createDirectory $I2PINSTEXE
|
||||
SetOutPath $I2PINSTEXE
|
||||
File /nonfatal /a /r "I2P\"
|
||||
@ -217,7 +214,6 @@ Function routerDetect
|
||||
File /nonfatal /a /r "I2P/config/geoip"
|
||||
|
||||
Abort directory
|
||||
${EndIf}
|
||||
FunctionEnd
|
||||
|
||||
Function installerFunction
|
||||
|
Reference in New Issue
Block a user