Update device.sh

update ibss option messages
This commit is contained in:
LukeZGD 2022-06-09 10:37:29 +08:00
parent 91fee9547f
commit 98380efbc6

View File

@ -332,7 +332,7 @@ SendPwnediBSS() {
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)" Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
read -s read -s
Input "No iBSS Option" Input "No iBSS Option"
Echo "* If you already sent pwned iBSS to the device, select Y." Echo "* If you already have sent pwned iBSS manually, select Y. If not, select N."
Echo "* This option is disabled by default (N)." Echo "* This option is disabled by default (N)."
read -p "$(Input 'Enable this option? (y/N):')" SendiBSS read -p "$(Input 'Enable this option? (y/N):')" SendiBSS
if [[ $SendiBSS == 'Y' || $SendiBSS == 'y' ]]; then if [[ $SendiBSS == 'Y' || $SendiBSS == 'y' ]]; then
@ -342,9 +342,9 @@ SendPwnediBSS() {
echo echo
Input "Send iBSS Option" Input "Send iBSS Option"
Echo "* To let futurerestore send patched iBSS, select N." Echo "* To send pwned iBSS using ipwndfu, select Y. (does not work on ARM Macs)"
Echo "* To send pwned iBSS using ipwndfu, select Y." Echo "* To let futurerestore send iBSS, select N. (likely does not work)"
Echo "* For macOS >=12.3 and ARM Macs, install python2 first before selecting ipwndfu!" Echo "* For macOS >=12.3, install python2 first before selecting ipwndfu."
Echo "* This option is enabled by default (Y)." Echo "* This option is enabled by default (Y)."
read -p "$(Input 'Enable this option? (Y/n):')" SendiBSS read -p "$(Input 'Enable this option? (Y/n):')" SendiBSS
if [[ $SendiBSS == 'N' || $SendiBSS == 'n' ]]; then if [[ $SendiBSS == 'N' || $SendiBSS == 'n' ]]; then
@ -353,10 +353,10 @@ SendPwnediBSS() {
return return
fi fi
PatchiBSS
if [[ $platform == "macos" ]]; then if [[ $platform == "macos" ]]; then
SaveExternal LukeZGD ipwndfu SaveExternal LukeZGD ipwndfu
fi fi
PatchiBSS
cd resources/ipwndfu cd resources/ipwndfu
Log "Sending iBSS..." Log "Sending iBSS..."
$ipwndfu -l ../../tmp/pwnediBSS $ipwndfu -l ../../tmp/pwnediBSS