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
Notificationnotification = newNotification("Saving blobs failed", "Check your internet connection.\nIf it is working, click here to report this error.", Notification.ERROR_ICON);
"Saving blobs failed. Check your internet connection.\n\nIf your internet is working and you can connect to the website ipsw.me in your browser, please create a new issue on Github or PM me on Reddit. The log has been copied to your clipboard.",
if (!ipswURL.matches("https?://.*apple.*\\.ipsw")) {
112
-
newUnreportableError("\"" + ipswURL + "\" is not a valid URL.\n\nMake sure it starts with \"http://\" or \"https://\", has \"apple\" in it, and ends with \".ipsw\"");
newUnreportableError("\"" + ipswURL + "\" is not a valid URL.\n\nMake sure it starts with \"http://\" or \"https://\", has \"apple\" in it, and ends with \".ipsw\"");
122
-
deleteTempFiles(buildManifestPlist);
123
-
return;
124
-
}
125
-
ZipEntryze;
126
-
while ((ze = zin.getNextEntry()) != null) {
127
-
if ("BuildManifest.plist".equals(ze.getName())) {
128
-
copyStreamToFile(zin, buildManifestPlist);
129
-
break;
130
-
}
131
-
}
132
-
buildManifestPlist.deleteOnExit();
133
-
} catch (IOExceptione) {
134
-
newReportableError("Unable to get BuildManifest from .ipsw.", e.getMessage());
135
-
e.printStackTrace();
136
-
deleteTempFiles(buildManifestPlist);
115
+
if (!controller.ipswField.getText().matches("https?://.*apple.*\\.ipsw")) {
116
+
newUnreportableError("\"" + ipswURL + "\" is not a valid URL.\n\nMake sure it starts with \"http://\" or \"https://\", has \"apple\" in it, and ends with \".ipsw\"");
newUnreportableError("\"" + ecid + "\"" + " is not a valid ECID. Try getting it from iTunes.\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.");
newReportableError("Unknown result.\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.", tsscheckerLog);
0 commit comments