mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 06:34:43 -04:00
Split 'SplitMerge' class into 2 normal
Update NETCommunications: installation speed now 2x faster
This commit is contained in:
parent
267ffcf5d2
commit
6993b89d52
8 changed files with 167 additions and 145 deletions
|
@ -128,6 +128,7 @@ public class GoldLeaf {
|
|||
"GoldLeaf"+goldLeafVersion,
|
||||
filterForNsp);
|
||||
Thread thread = new Thread(task);
|
||||
thread.setDaemon(true);
|
||||
thread.start();
|
||||
thread.join();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue