diff --git a/bin/linux/arm64/ideviceactivation b/bin/linux/arm64/ideviceactivation index 548d60a..1d2e2b7 100755 Binary files a/bin/linux/arm64/ideviceactivation and b/bin/linux/arm64/ideviceactivation differ diff --git a/bin/linux/arm64/idevicerestore b/bin/linux/arm64/idevicerestore index 6999d70..85dcdc4 100755 Binary files a/bin/linux/arm64/idevicerestore and b/bin/linux/arm64/idevicerestore differ diff --git a/bin/linux/arm64/lib/libcrypto.so.1.1 b/bin/linux/arm64/lib/libcrypto.so.1.1 deleted file mode 100644 index 5ee5c18..0000000 Binary files a/bin/linux/arm64/lib/libcrypto.so.1.1 and /dev/null differ diff --git a/bin/linux/arm64/lib/libssl.so.1.1 b/bin/linux/arm64/lib/libssl.so.1.1 deleted file mode 100644 index 0be3819..0000000 Binary files a/bin/linux/arm64/lib/libssl.so.1.1 and /dev/null differ diff --git a/bin/linux/x86_64/ideviceactivation b/bin/linux/x86_64/ideviceactivation index 5370987..5212d98 100755 Binary files a/bin/linux/x86_64/ideviceactivation and b/bin/linux/x86_64/ideviceactivation differ diff --git a/bin/linux/x86_64/idevicerestore b/bin/linux/x86_64/idevicerestore index 4a668bf..3324a06 100755 Binary files a/bin/linux/x86_64/idevicerestore and b/bin/linux/x86_64/idevicerestore differ diff --git a/bin/linux/x86_64/lib/libcrypto.so.1.1 b/bin/linux/x86_64/lib/libcrypto.so.1.1 deleted file mode 100644 index 2caf7aa..0000000 Binary files a/bin/linux/x86_64/lib/libcrypto.so.1.1 and /dev/null differ diff --git a/bin/linux/x86_64/lib/libssl.so.1.1 b/bin/linux/x86_64/lib/libssl.so.1.1 deleted file mode 100644 index 0fb2394..0000000 Binary files a/bin/linux/x86_64/lib/libssl.so.1.1 and /dev/null differ diff --git a/restore.sh b/restore.sh index cb66c43..69c7a5b 100755 --- a/restore.sh +++ b/restore.sh @@ -400,7 +400,7 @@ set_tool_paths() { sudoloop_pid=$! futurerestore="sudo " gaster="sudo " - idevicerestore="sudo " + idevicerestore="sudo LD_LIBRARY_PATH=$dir/lib " ipwnder="sudo " irecovery="sudo " irecovery2="sudo " @@ -643,7 +643,7 @@ install_depends() { } version_update_check() { - pushd "$(dirname "$0")/tmp$$" >/dev/null + pushd "tmp$$" >/dev/null if [[ $platform == "macos" && ! -e ../resources/firstrun ]]; then xattr -cr ../bin/macos fi @@ -665,11 +665,11 @@ version_update() { print "* If this fails for some reason, run: git reset --hard" print "* To clean more files if needed, run: git clean -df" git pull origin $(git rev-parse --abbrev-ref HEAD) - pushd "$(dirname "$0")/tmp$$" >/dev/null + pushd "tmp$$" >/dev/null log "Done! Please run the script again" exit fi - pushd "$(dirname "$0")/tmp$$" >/dev/null + pushd "tmp$$" >/dev/null log "Downloading..." git clone --filter=blob:none "https://github.com/LukeZGD/Legacy-iOS-Kit" if [[ $? != 0 ]]; then @@ -686,7 +686,7 @@ version_update() { rm -r resources/ 2>/dev/null mv tmp$$/Legacy-iOS-Kit/* tmp$$/Legacy-iOS-Kit/.git . cp tmp$$/firstrun resources 2>/dev/null - pushd "$(dirname "$0")/tmp$$" >/dev/null + pushd "tmp$$" >/dev/null log "Done! Please run the script again" exit } @@ -9090,7 +9090,7 @@ device_jailbreak_confirm() { while [[ -z $device_vers ]]; do read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers done - else + elif [[ $device_mode == "Normal" ]]; then case $device_vers in 5* | 6.0* | 6.1 | 6.1.[12] ) print "* Your device on iOS $device_vers will be jailbroken using g1lbertJB."