This commit is contained in:
Nebula committed 2022-11-11 18:44:25 -05:00
1 parent 81490fd0b3
commit e8ab701ee6
1 file changed
+1 -1
+1 -1
View File
@@ -435,7 +435,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
echo "[*] Patching kernelcache"
cd ..
modelwithoutap=$(echo "$model" | sed 's/ap//')
bpatchfile=$(find ../patches -name "$modelwithoutap".bpatch)
bpatchfile=$(find patches -name "$modelwithoutap".bpatch)
"$dir"/img4 -i work/kernelcache.development.* -o work/kernelcache -M work/apticket.der -P "$bpatchfile" `if [ "$os" = 'Linux' ]; then echo "-J"; fi`
echo "[*] Placing patched kernelcache"