You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alert1.setHeaderText("Read APNonce from connected device");
560
560
alert1.setContentText("blobsaver can read both the APNonce and generator from a connected device.\n\n" +
561
-
"Please connect your device and click \"Jailbroken\" if your device has a generator set or \"Unjailbroken\" if you don't. If unsure, select \"Unjailbroken\".\n\nYour device will enter recovery mode while retrieving the APNonce and will automatically reboot to normal mode when complete.");
562
-
booleanjailbroken;
563
-
if (alert1.showAndWait().isEmpty() || !alert1.getResult().getText().contains("ailbroken")) {
561
+
"Your device will enter recovery mode while retrieving the APNonce and will automatically reboot to normal mode when complete.");
562
+
if (!ButtonType.OK.equals(alert1.showAndWait().orElse(null))) {
Utils.runSafe(() -> updateMessage("Warning: Got APNonce, but APNonce is not frozen. This could mean the generator wasn't set correctly.\n\nExiting recovery mode..."));
116
+
tryAgain = false;
107
117
} else {
108
-
Utils.runSafe(() -> updateMessage("Warning: Got APNonce, but two successive reads didn't match. This could mean the generator wasn't set correctly.\n\nExiting recovery mode..."));
118
+
Utils.runSafe(() -> updateMessage("APNonce is not frozen, trying again.\n\nExiting recovery mode..."));
0 commit comments