mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-06-10 01:12:44 +02:00
update idevicerestore and ideviceactivation linux, and other script fixes
- rebuild idevicerestore and ideviceactivation, with no more conflicts this time. it shouldnt segfault or error out anymore - fix pushd relative path issue - jailbreak with g1lbertjb userland tool on normal mode only
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12
restore.sh
12
restore.sh
@ -400,7 +400,7 @@ set_tool_paths() {
|
|||||||
sudoloop_pid=$!
|
sudoloop_pid=$!
|
||||||
futurerestore="sudo "
|
futurerestore="sudo "
|
||||||
gaster="sudo "
|
gaster="sudo "
|
||||||
idevicerestore="sudo "
|
idevicerestore="sudo LD_LIBRARY_PATH=$dir/lib "
|
||||||
ipwnder="sudo "
|
ipwnder="sudo "
|
||||||
irecovery="sudo "
|
irecovery="sudo "
|
||||||
irecovery2="sudo "
|
irecovery2="sudo "
|
||||||
@ -643,7 +643,7 @@ install_depends() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
version_update_check() {
|
version_update_check() {
|
||||||
pushd "$(dirname "$0")/tmp$$" >/dev/null
|
pushd "tmp$$" >/dev/null
|
||||||
if [[ $platform == "macos" && ! -e ../resources/firstrun ]]; then
|
if [[ $platform == "macos" && ! -e ../resources/firstrun ]]; then
|
||||||
xattr -cr ../bin/macos
|
xattr -cr ../bin/macos
|
||||||
fi
|
fi
|
||||||
@ -665,11 +665,11 @@ version_update() {
|
|||||||
print "* If this fails for some reason, run: git reset --hard"
|
print "* If this fails for some reason, run: git reset --hard"
|
||||||
print "* To clean more files if needed, run: git clean -df"
|
print "* To clean more files if needed, run: git clean -df"
|
||||||
git pull origin $(git rev-parse --abbrev-ref HEAD)
|
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"
|
log "Done! Please run the script again"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
pushd "$(dirname "$0")/tmp$$" >/dev/null
|
pushd "tmp$$" >/dev/null
|
||||||
log "Downloading..."
|
log "Downloading..."
|
||||||
git clone --filter=blob:none "https://github.com/LukeZGD/Legacy-iOS-Kit"
|
git clone --filter=blob:none "https://github.com/LukeZGD/Legacy-iOS-Kit"
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
@ -686,7 +686,7 @@ version_update() {
|
|||||||
rm -r resources/ 2>/dev/null
|
rm -r resources/ 2>/dev/null
|
||||||
mv tmp$$/Legacy-iOS-Kit/* tmp$$/Legacy-iOS-Kit/.git .
|
mv tmp$$/Legacy-iOS-Kit/* tmp$$/Legacy-iOS-Kit/.git .
|
||||||
cp tmp$$/firstrun resources 2>/dev/null
|
cp tmp$$/firstrun resources 2>/dev/null
|
||||||
pushd "$(dirname "$0")/tmp$$" >/dev/null
|
pushd "tmp$$" >/dev/null
|
||||||
log "Done! Please run the script again"
|
log "Done! Please run the script again"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
@ -9090,7 +9090,7 @@ device_jailbreak_confirm() {
|
|||||||
while [[ -z $device_vers ]]; do
|
while [[ -z $device_vers ]]; do
|
||||||
read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers
|
read -p "$(input 'Enter current iOS version (eg. 6.1.3): ')" device_vers
|
||||||
done
|
done
|
||||||
else
|
elif [[ $device_mode == "Normal" ]]; then
|
||||||
case $device_vers in
|
case $device_vers in
|
||||||
5* | 6.0* | 6.1 | 6.1.[12] )
|
5* | 6.0* | 6.1 | 6.1.[12] )
|
||||||
print "* Your device on iOS $device_vers will be jailbroken using g1lbertJB."
|
print "* Your device on iOS $device_vers will be jailbroken using g1lbertJB."
|
||||||
|
Reference in New Issue
Block a user