Fixed bugs

This commit is contained in:
Cametendo
2026-04-28 11:49:35 +02:00
parent e15e7f26d5
commit 063cbbd568
5 changed files with 123 additions and 89 deletions

View File

@@ -23,14 +23,5 @@ public class Greeting {
*/
public static void greeting(Scanner UserInput) {
System.out.println("Welcome to cflash!");
System.out.println("Would you like to flash an image (Y/n)");
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);
}
}
}