-a isn't needed because kpf, nolivefs isnt needed because -h

This commit is contained in:
Nathan authored and GitHub committed 2022-12-14 10:34:28 -05:00
1 parent f61b44d1ba
commit ec32190451
1 file changed
+3 -6
+3 -6
View File
@@ -653,10 +653,7 @@ if [ ! -f blobs/"$deviceid"-"$version".der ]; then
remote_cmd "rm -f /mnt6/$active/kpf"
if [[ "$version" == *"16"* ]]; then
if [ "$semi_tethered" = "1" ]; then
remote_cp binaries/Kernel16Patcher-nolivefs.ios root@localhost:/mnt6/$active/kpf
else
remote_cp binaries/Kernel16Patcher.ios root@localhost:/mnt6/$active/kpf
fi
remote_cp binaries/Kernel16Patcher.ios root@localhost:/mnt6/$active/kpf
else
remote_cp binaries/Kernel15Patcher.ios root@localhost:/mnt6/$active/kpf
fi
@@ -693,9 +690,9 @@ if [ ! -f blobs/"$deviceid"-"$version".der ]; then
remote_cp root@localhost:/mnt6/$active/System/Library/Caches/com.apple.kernelcaches/kcache.patched work/
if [ "$tweaks" = "1" ]; then
if [[ "$version" == *"16"* ]]; then
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -e -a -o -u -l -t -h
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -e -o -u -l -t -h
else
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -e -a -l
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -e -l
fi
else
"$dir"/Kernel64Patcher work/kcache.patched work/kcache.patched2 -a