Skip to content

Commit

Permalink
try to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinaAcct committed Jun 3, 2024
1 parent ecc381a commit 8603bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion new/AAP-New.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ if [[ -n ${NOINSTALL} ]]; then
log_warn "The -n parameter was received. Won't install patched image."
if [[ "${OS}" == "android" ]]; then
log_info "Now copying patched image to /storage/emulated/0/patched_boot.img..."
mv ${WORKDIR}/patched_boot.img /storage/emulated/0/patched_boot.img
mv ${WORKDIR}/new-boot.img /storage/emulated/0/patched_boot.img
else
log_info "Now copying patched image to ${HOME}/patched_boot.img..."
mv ${WORKDIR}/new-boot.img ${HOME}/patched_boot.img
Expand Down
2 changes: 1 addition & 1 deletion new/AAPFunction
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ patch_boot() { # 修补boot镜像
fi
log_info "Done."
log_info "Repacking..."
./magiskboot repack boot${BOOTSUFFIX}.img patched_boot.img
./magiskboot repack boot${BOOTSUFFIX}.img
EXITSTATUS=$?
if [[ $EXITSTATUS != 0 ]]; then
log_err "REPACK FAILED!"
Expand Down

0 comments on commit 8603bfc

Please sign in to comment.