mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
hacky solution to make --recovery and --dfu work
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -105,7 +105,9 @@ else
|
||||
fi
|
||||
|
||||
# Put device into recovery mode, and set auto-boot to true
|
||||
if [ ! "$2" = '--dfu' ] || [ ! "$2" = '--recovery' ]; then
|
||||
if [ "$2" = '--dfu' ] || [ "$2" = '--recovery' ]; then
|
||||
:
|
||||
else
|
||||
echo "[*] Switching device into recovery mode..."
|
||||
ideviceenterrecovery $(ideviceinfo | grep "UniqueDeviceID: " | sed 's/UniqueDeviceID: //') > /dev/null
|
||||
if [ "$os" = 'Darwin' ]; then
|
||||
|
||||
Reference in new issue
Block a user