Option to update the config without flashing the image again

This commit is contained in:
2026-06-01 22:47:03 +08:00
parent a2e5c2aa7a
commit 4e8e1896cf
+2
View File
@@ -239,6 +239,7 @@ log "Expected config partition after flash: $TARGET_CONFIG_PART"
log "Target disk info:"
diskutil info "$TARGET_DISK" || die "Unable to inspect target disk"
if ! [ "$1" == "config" ]; then
echo
printf "Type 'YES' to continue: "
read -r CONFIRM
@@ -266,6 +267,7 @@ fi
log "Disk layout after flashing:"
diskutil list "$TARGET_DISK" || warn "Could not list flashed disk yet"
fi
ENV_FILES="$(find "$SEARCH_DIR" -maxdepth 1 -type f -name '*.env' | sort || true)"