diff --git a/new/AAP-New.sh b/new/AAP-New.sh index e4a67c1..5892927 100755 --- a/new/AAP-New.sh +++ b/new/AAP-New.sh @@ -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 diff --git a/new/AAPFunction b/new/AAPFunction index c4cb2a3..b54d808 100755 --- a/new/AAPFunction +++ b/new/AAPFunction @@ -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!"