Try not setting the base dir for now since that seems to be causing it to stall on my wiwindows machine
This commit is contained in:
@@ -15,8 +15,6 @@ import net.i2p.router.RouterLaunch;
|
|||||||
*/
|
*/
|
||||||
public class WinLauncher {
|
public class WinLauncher {
|
||||||
|
|
||||||
/** this is totally undocumented */
|
|
||||||
// private static final String APP_PATH = "jpackage.app-path";
|
|
||||||
private static final String LOCALAPPDATA = System.getenv("LOCALAPPDATA");
|
private static final String LOCALAPPDATA = System.getenv("LOCALAPPDATA");
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
@@ -31,10 +29,10 @@ public class WinLauncher {
|
|||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
System.setProperty("i2p.dir.base", programs.getAbsolutePath());
|
// System.setProperty("i2p.dir.base", programs.getAbsolutePath());
|
||||||
System.setProperty("i2p.dir.config", home.getAbsolutePath());
|
System.setProperty("i2p.dir.config", home.getAbsolutePath());
|
||||||
System.setProperty("router.pid", String.valueOf(ProcessHandle.current().pid()));
|
System.setProperty("router.pid", String.valueOf(ProcessHandle.current().pid()));
|
||||||
System.out.println(programs.getAbsolutePath() +"\n\t"+ home.getAbsolutePath() +"\n\t"+ String.valueOf(ProcessHandle.current().pid()));
|
System.out.println("\t"+programs.getAbsolutePath() +"\n\t"+ home.getAbsolutePath() +"\n\t"+ String.valueOf(ProcessHandle.current().pid()));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// TODO: See if I need to do anything like this for Windows
|
// TODO: See if I need to do anything like this for Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user