Add updated brazilian portuguese translation by @almircanella! #64

Refactor NETCommunications. Not it's readable :D
A lot of small changes, code refactoring, updates and fixes.
This commit is contained in:
Dmitry Isaenko 2020-07-10 16:57:29 +03:00
parent 96e85056dd
commit 267ffcf5d2
22 changed files with 553 additions and 522 deletions

View file

@ -18,7 +18,6 @@
*/
package nsusbloader.cli;
import nsusbloader.COM.INSTask;
import nsusbloader.COM.USB.UsbCommunications;
import nsusbloader.Controllers.SettingsController;
@ -125,7 +124,7 @@ public class GoldLeaf {
}
public void runGoldLeafBackend() throws InterruptedException {
INSTask task = new UsbCommunications(filesList,
Runnable task = new UsbCommunications(filesList,
"GoldLeaf"+goldLeafVersion,
filterForNsp);
Thread thread = new Thread(task);

View file

@ -18,7 +18,6 @@
*/
package nsusbloader.cli;
import nsusbloader.COM.INSTask;
import nsusbloader.COM.USB.UsbCommunications;
import java.io.File;
@ -61,7 +60,7 @@ public class TinfoilUsb {
}
private void runTinfoilBackend() throws InterruptedException{
INSTask task = new UsbCommunications(filesList, "TinFoil", false);
Runnable task = new UsbCommunications(filesList, "TinFoil", false);
Thread thread = new Thread(task);
thread.start();
thread.join();