mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-29 04:29:48 +01:00
Update palera1n.sh
This commit is contained in:
1 parent
9af8bdf5cc
commit
e13b0c9a6a
1 file changed
+1
-1
+1
-1
@@ -473,7 +473,7 @@ if [ ! -e boot-"$deviceid" ]; then
|
|||||||
if [[ $1 == *"--tweaks"* ]]; then
|
if [[ $1 == *"--tweaks"* ]]; then
|
||||||
modelwithoutap=$(echo "$model" | sed 's/ap//')
|
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 boot-"$deviceid"/kernelcache.img4 -M work/IM4M -T rkrn -P "$bpatchfile" `if [ "$oscheck" = 'Linux' ]; then echo "-J"; fi` > "$out"
|
"$dir"/img4 -i work/kernelcache.development.* -o boot-"$deviceid"/kernelcache.img4 -M work/IM4M -T rkrn -P "$bpatchfile" `if [ "$os" = 'Linux' ]; then echo "-J"; fi` > "$out"
|
||||||
else
|
else
|
||||||
"$dir"/Kernel64Patcher work/kcache.raw work/kcache.patched -a -o > "$out"
|
"$dir"/Kernel64Patcher work/kcache.raw work/kcache.patched -a -o > "$out"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user