From 8603bfcbdd870f1a3a5f0544e3de79d09ef16254 Mon Sep 17 00:00:00 2001 From: Atopes Sayuri <108107785+AtopesSayuri@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:03:34 +0800 Subject: [PATCH] try to fix bug --- new/AAP-New.sh | 2 +- new/AAPFunction | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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!"