Skip to content

Commit 4afce7b

Browse files
committed
Add boardconfig for iPod Touch 7
1 parent 3329a7d commit 4afce7b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/main/java/com/airsquared/blobsaver/Devices.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class Devices {
8686
requiresBoardConfig.put("iPad Pro 3 12.9 (WiFi)(iPad8,6)", "J320xAP");
8787
requiresBoardConfig.put("iPad Pro 3 12.9 (Cellular)(iPad8,7)", "J321AP");
8888
requiresBoardConfig.put("iPad Pro 3 12.9 (Cellular)(iPad8,8)", "J321xAP");
89+
requiresBoardConfig.put("iPod Touch 7 (iPod9,1)", "N112AP");
8990
}
9091

9192
static ObservableList<String> getiPhones() {

src/main/java/com/airsquared/blobsaver/TSSChecker.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void run(String device) {
7979
}
8080
}
8181

82-
private static void run(String device, String version) {
82+
private static void run(String device, String version) throws TSSCheckerException {
8383
if ("".equals(device)) {
8484
return;
8585
}
@@ -149,7 +149,7 @@ private static void run(String device, String version) {
149149
newReportableError("There was an error starting tsschecker.", e.toString());
150150
e.printStackTrace();
151151
deleteTempFiles(buildManifestPlist);
152-
return;
152+
throw new TSSCheckerException(e);
153153
}
154154

155155
if (containsIgnoreCase(tsscheckerLog, "Saved signing tickets")) {
@@ -236,7 +236,7 @@ private static void deleteTempFiles(File buildManifestPlist) {
236236
* RuntimeException for all tsschecker related errors.
237237
*/
238238
@SuppressWarnings({"unused", "WeakerAccess"})
239-
static class TSSCheckerException extends RuntimeException {
239+
static class TSSCheckerException extends Exception {
240240

241241
/**
242242
* Constructs a new tsschecker exception with {@code null} as its
@@ -293,7 +293,7 @@ public TSSCheckerException(Throwable cause) {
293293
}
294294

295295
/**
296-
* Constructs a new tsschechker exception with the specified detail
296+
* Constructs a new tsschecker exception with the specified detail
297297
* message, cause, suppression enabled or disabled, and writable
298298
* stack trace enabled or disabled.
299299
*

0 commit comments

Comments
 (0)