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
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.");
172
173
controller.ecidField.setEffect(errorBorder);
173
-
} elseif (tsscheckerLog.contains("[Error] [TSSC] device " + device + " could not be found in devicelist")) {
174
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] [TSSC] device " + device + " could not be found in devicelist")) {
174
175
Alertalert = newAlert(Alert.AlertType.ERROR, "tsschecker could not find device: \"" + device +
175
176
"\"\n\nPlease create a new Github issue or PM me on Reddit if you used the dropdown menu.\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.", githubIssue, redditPM, ButtonType.CANCEL);
176
177
resizeAlertButtons(alert);
177
178
alert.showAndWait();
178
179
reportError(alert);
179
-
} elseif (tsscheckerLog.contains("[Error] [TSSC] ERROR: could not get url for device " + device + " on iOS " + version)) {
180
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] [TSSC] ERROR: could not get url for device " + device + " on iOS " + version)) {
180
181
newUnreportableError("Could not find device \"" + device + "\" on iOS/tvOS " + version +
181
182
"\n\nThe version doesn't exist or isn't compatible with the device");
newUnreportableError("\"" + apnonce + "\" is not a valid apnonce");
185
186
controller.apnonceField.setEffect(errorBorder);
186
-
} elseif (tsscheckerLog.contains("[WARNING] [TSSC] could not get id0 for installType=Erase. Using fallback installType=Update since user did not specify installType manually")
187
-
&& tsscheckerLog.contains("[Error] [TSSR] Error: could not get id0 for installType=Update")
188
-
&& tsscheckerLog.contains("[Error] [TSSR] faild to build tssrequest")
189
-
&& tsscheckerLog.contains("Error] [TSSC] checking tss status failed!")) {
187
+
} elseif (containsIgnoreCase(tsscheckerLog, "[WARNING] [TSSC] could not get id0 for installType=Erase. Using fallback installType=Update since user did not specify installType manually")
188
+
&& containsIgnoreCase(tsscheckerLog, "[Error] [TSSR] Error: could not get id0 for installType=Update")
189
+
&& containsIgnoreCase(tsscheckerLog, "[Error] [TSSR] faild to build TSS request")
190
+
&& containsIgnoreCase(tsscheckerLog, "Error] [TSSC] checking tss status failed!")) {
190
191
Alertalert = newAlert(Alert.AlertType.ERROR,
191
192
"Saving blobs failed. Check the board configuration or try again later.\n\nIf this doesn't work, please create a new issue on Github or PM me on Reddit. The log has been copied to your clipboard.\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.",
192
193
githubIssue, redditPM, ButtonType.OK);
193
194
resizeAlertButtons(alert);
194
195
alert.showAndWait();
195
196
reportError(alert, tsscheckerLog);
196
-
} elseif (tsscheckerLog.contains("[Error] ERROR: TSS request failed: Could not resolve host:")) {
197
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] ERROR: TSS request failed: Could not resolve host:")) {
197
198
Alertalert = newAlert(Alert.AlertType.ERROR,
198
199
"Saving blobs failed. Check your internet connection.\n\nIf your internet is working and you can connect to apple.com in your browser, please create a new issue on Github or PM me on Reddit. The log has been copied to your clipboard.\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.",
199
200
githubIssue, redditPM, ButtonType.OK);
200
201
resizeAlertButtons(alert);
201
202
alert.showAndWait();
202
203
reportError(alert, tsscheckerLog);
203
-
} elseif (tsscheckerLog.contains("[Error] [Error] can't save shsh at " + savePath)) {
204
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] [Error] can't save signing tickets at " + savePath)) {
204
205
newUnreportableError("\'" + savePath + "\' is not a valid path\n\nIf this was done to test whether the preset works in the background, please cancel that preset, fix the error, and try again.");
205
206
controller.pathField.setEffect(errorBorder);
206
-
} elseif (tsscheckerLog.contains("iOS " + version + " for device " + device + " IS NOT being signed!") || tsscheckerLog.contains("Build " + controller.buildIDField.getText() + " for device" + device + "IS NOT being signed!")) {
207
+
} elseif (containsIgnoreCase(tsscheckerLog, "iOS " + version + " for device " + device + " IS NOT being signed!") || tsscheckerLog.contains("Build " + controller.buildIDField.getText() + " for device" + device + "IS NOT being signed!")) {
207
208
newUnreportableError("iOS/tvOS " + version + " is not being signed for device " + device);
208
209
if (version.equals(controller.versionField.getText())) {
} elseif (tsscheckerLog.contains("[Error] [TSSC] failed to load manifest")) {
216
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] [TSSC] failed to load manifest")) {
216
217
Alertalert = newAlert(Alert.AlertType.ERROR,
217
218
"Failed to load manifest.\n\n\"" + ipswURL + "\" might not be a valid URL.\n\nMake sure it starts with \"http://\" or \"https://\", has \"apple\" in it, and ends with \".ipsw\"\n\nIf the URL is fine, please create a new issue on Github or PM me on Reddit. The log has been copied to your clipboard",
218
219
githubIssue, redditPM, ButtonType.OK);
219
220
resizeAlertButtons(alert);
220
221
alert.showAndWait();
221
222
reportError(alert, tsscheckerLog);
222
-
} elseif (tsscheckerLog.contains("[Error] [TSSC] selected device can't be used with that buildmanifest")) {
223
+
} elseif (containsIgnoreCase(tsscheckerLog, "[Error] [TSSC] selected device can't be used with that buildmanifest")) {
223
224
newUnreportableError("Device and build manifest don't match.");
newReportableError("Saving blobs failed.\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);
226
227
} else {
227
228
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