Fix copy commands

This commit is contained in:
LukeZGD 2022-11-02 08:08:29 +08:00
parent e8e4cabd7a
commit 9fb342e62e
2 changed files with 10 additions and 10 deletions

View File

@ -243,7 +243,7 @@ EnterPwnDFU() {
esac
done
else
Echo "* For Arch, install python2 first from AUR before using ipwndfu."
Echo "* Make sure to have python2 installed first before using ipwndfu."
pwnDFUTool="ipwndfu"
SaveExternal ipwndfu
fi
@ -377,7 +377,7 @@ SendPwnediBSSA5() {
Input "Send iBSS Option"
Echo "* To send pwned iBSS using ipwndfu, select Y. (does not work on ARM Macs)"
Echo "* To let futurerestore send iBSS, select N. (likely does not work)"
Echo "* For Arch, macOS 12 and newer, install python2 first before selecting ipwndfu."
Echo "* Make sure to have python2 installed first before using ipwndfu."
Echo "* This option is enabled by default (Y)."
read -p "$(Input 'Enable this option? (Y/n):')" SendiBSS
if [[ $SendiBSS == 'N' || $SendiBSS == 'n' ]]; then
@ -529,7 +529,7 @@ Ramdisk4() {
curl -L $JailbreakLink/support_files/7.1.2/Ramdisk/$file -o $file
done
cd ..
cp -rf ramdisk/ ../resources/
cp -R ramdisk ../resources
cd ..
fi

View File

@ -241,9 +241,9 @@ IPSW32() {
Log "Preparing custom IPSW..."
cd tmp
if [[ $JBDaibutsu == 1 ]]; then
cp -R ../resources/firmware/${WinBundles}JailbreakBundles/ FirmwareBundles/
cp -R ../resources/firmware/${WinBundles}JailbreakBundles FirmwareBundles
else
cp -R ../resources/firmware/${WinBundles}FirmwareBundles/ ./
cp -R ../resources/firmware/${WinBundles}FirmwareBundles FirmwareBundles
fi
$ipsw ./../$IPSW.ipsw ./../$IPSWCustom.ipsw $ExtraArgs $BBUpdate $JBMemory ${JBFiles[@]}
cd ..
@ -299,7 +299,7 @@ IPSW4() {
cd tmp
if [[ $OSVer == "7.1.2" && ! -e $IPSWCustom.ipsw ]]; then
Log "Preparing custom IPSW..."
cp -rf ../resources/firmware/FirmwareBundles/ ./
cp -R ../resources/firmware/FirmwareBundles .
$ipsw ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -S 50 ${JBFiles[@]}
elif [[ ! -e $IPSWCustom.ipsw ]]; then
echo
@ -315,8 +315,8 @@ IPSW4() {
fi
Log "Preparing custom IPSW with powdersn0w..."
cp -rf ../resources/firmware/powdersn0wBundles/ ./FirmwareBundles/
cp -rf ../resources/firmware/src/ ./
cp -R ../resources/firmware/powdersn0wBundles ./FirmwareBundles
cp -R ../resources/firmware/src .
if [[ $Jailbreak == 1 && $OSVer == "6."* ]]; then
JBFiles=()
rm FirmwareBundles/${config}.plist
@ -389,7 +389,7 @@ IPSW4Cherry() {
cd tmp
Log "Preparing custom IPSW with ch3rryflower..."
cp -rf ../$cherrymac/FirmwareBundles/ ../$cherrymac/src/ ./
cp -R ../$cherrymac/FirmwareBundles ../$cherrymac/src .
unzip -j ../$IPSW.ipsw Firmware/all_flash/all_flash.${HWModel}ap.production/iBoot*
mv iBoot.${HWModel}ap.RELEASE.img3 tmp/
$xpwntool tmp ibot.dec -iv $IV -k $Key
@ -434,7 +434,7 @@ IPSW4Powder() {
powderdir="../resources/powdersn0w/macosx_x86_64"
cd tmp
cp -rf $powderdir/FirmwareBundles/ $powderdir/src/ ./
cp -R $powderdir/FirmwareBundles $powderdir/src .
powdersn0w="$powderdir/ipsw"
if [[ $platform != "macos" ]]; then