create devicecheck, filepathcheck and blocksize

This commit is contained in:
Cametendo
2026-02-09 11:58:37 +01:00
parent baab63f846
commit 4d6e8b975f
6 changed files with 83 additions and 4 deletions

View File

@@ -1,18 +1,21 @@
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
public static void main(String[] args) throws InterruptedException {
Scanner UserInput = new Scanner(System.in);
greeting();
Greeting.greeting();
String input = UserInput.nextLine();
if (YesNo.check(input)) {
System.out.println("Please choose a device");
System.out.println("Please choose the to be flashed device (f. e. sda)");
} else {
System.out.println("Canceling...");
System.exit(0);
}
StorageDeviceLister.deviceList(UserInput);
FilePathAdd.filePath(UserInput);
}