Skip to content

Commit

Permalink
Release v3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Aug 21, 2023
1 parent 0c37783 commit 34173c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ idea.module.outputDir file('out/production/classes') // fix running via IntelliJ
/*
* REMEMBER: also update the version string in Main.java
*/
version = '3.5.1'
version = '3.5.2'
description = 'A cross-platform GUI and CLI app for saving SHSH blobs'
String appIdentifier = 'airsquared.blobsaver.app'
String copyright = 'Copyright (c) 2023 airsquared'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/airsquared/blobsaver/app/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

public class Main {

static final String appVersion = "v3.5.1";
static final String appVersion = "v3.5.2";
static final String copyright = "Copyright (c) 2023 airsquared";
static Stage primaryStage;
// make sure to set system property before running (automatically set if running from gradle)
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/airsquared/blobsaver/app/TSS.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,18 +300,18 @@ private List<Utils.IOSVersion> getIOSVersions() throws TSSException {
Stream<Utils.IOSVersion> signedBetas = getSignedBetas(deviceIdentifier);
return Stream.concat(signedFirmwares, signedBetas).toList();
} catch (Exception e) {
if (e.getMessage().startsWith("HTTP Response was (GET https://www.betahub.cn/api/apple/firmwares/")) {
throw new TSSException("There was an error retrieving beta versions; try without including beta versions.\n\nThis is a known issue. See issue #603 on GitHub for more information.", false, e);
if (e.getMessage().startsWith("HTTP Response was (GET https://www.betahub.cn/api/")) {
throw new TSSException("There was an error retrieving beta versions; try disabling 'Include Betas'.\n\nThis is a known issue. See issue #614 on GitHub for more information or if you can help.", false, e);
}
throw new TSSException("There was an error retrieving beta versions; try without including beta versions. For more information, try again with the debug log open.", false, e);
throw new TSSException("There was an error retrieving beta versions; try disabling 'Include Betas'. For more information, try again with the debug log open.", false, e);
}
} else { // all signed firmwares
return getSignedFirmwares(deviceIdentifier).toList();
}
} catch (FileNotFoundException e) {
var message = "The device \"" + deviceIdentifier + "\" could not be found.";
if (includeBetas) {
message += " This device may not have any beta versions available; try without including beta versions.";
message += " This device may not have any beta versions available; try disabling 'Include Betas'.";
}
throw new TSSException(message, false, e);
} catch (IOException e) {
Expand Down

0 comments on commit 34173c1

Please sign in to comment.