Skip to content

Commit

Permalink
Release v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Emery Ferrari committed Feb 20, 2020
1 parent dfc1fb0 commit 16e1ec0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/emeryferrari/iosrr/RRConst.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.emeryferrari.iosrr;
public class RRConst {
private RRConst() {}
public static final String VERSION = "0.3";
public static final String VERSION = "0.3.1";
}
6 changes: 6 additions & 0 deletions src/com/emeryferrari/iosrr/RestrictionsRecovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ private static void downloadViaSSH(String ip, int port, String password) throws
ssh.newSCPFileTransfer().download("/private/var/mobile/Library/Preferences/com.apple.restrictionspassword.plist", "password.plist");
ssh.disconnect();
ssh.close();
} else {
RestrictionsRecovery.printUnsupportedOS();
}
System.exit(0);
}
Expand All @@ -199,4 +201,8 @@ private static OperatingSystem identifyHostOS() {
return OperatingSystem.OTHER;
}
}
private static void printUnsupportedOS() {
System.out.println("Host operating system is unsupported by iOS Restrictions Recovery.");
System.exit(0);
}
}

0 comments on commit 16e1ec0

Please sign in to comment.