Split 'SplitMerge' class into 2 normal

Update NETCommunications: installation speed now 2x faster
This commit is contained in:
Dmitry Isaenko 2020-07-11 15:42:17 +03:00
parent 267ffcf5d2
commit 6993b89d52
8 changed files with 167 additions and 145 deletions

View file

@ -128,6 +128,7 @@ public class GoldLeaf {
"GoldLeaf"+goldLeafVersion,
filterForNsp);
Thread thread = new Thread(task);
thread.setDaemon(true);
thread.start();
thread.join();
}

View file

@ -52,6 +52,7 @@ public class NXDT {
private void runBackend() throws InterruptedException{
NxdtTask nxdtTask = new NxdtTask(saveTo);
Thread thread = new Thread(nxdtTask);
thread.setDaemon(true);
thread.start();
thread.join();
}

View file

@ -77,7 +77,7 @@ public class TinfoilNet {
+ "\tns-usbloader -n nsip=<arg1> [hostip=<arg2>] FILE1 ...\n"
+ "\tns-usbloader --tfn nsip=<arg1> [hostip=<arg2>] FILE1 ..."
+ "\n\nOptions:"
+ "\n\tnsip=<ip>\t\t\tDefine NS IP address (mandatory)"
+ "\n\tnsip=<ip>\t\tDefine NS IP address (mandatory)"
+ "\n\thostip=<ip[:port]>\tDefine this host IP address. Will be obtained automatically if not set.");
}
@ -138,6 +138,7 @@ public class TinfoilNet {
hostPortNum,
"");
Thread netCommThread = new Thread(netCommunications);
netCommThread.setDaemon(true);
netCommThread.start();
netCommThread.join();
}

View file

@ -62,6 +62,7 @@ public class TinfoilUsb {
private void runTinfoilBackend() throws InterruptedException{
Runnable task = new UsbCommunications(filesList, "TinFoil", false);
Thread thread = new Thread(task);
thread.setDaemon(true);
thread.start();
thread.join();
}