mirror of
https://github.com/Cametendo/cflash.git
synced 2026-03-18 04:50:19 +01:00
23 lines
606 B
Java
23 lines
606 B
Java
import java.util.Scanner;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) throws InterruptedException {
|
|
Scanner UserInput = new Scanner(System.in);
|
|
|
|
Greeting.greeting();
|
|
String input = UserInput.nextLine();
|
|
|
|
if (YesNo.check(input)) {
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
}
|