release: sync public installer asset install.sh

This commit is contained in:
2026-09-02 03:19:10 +00:00
parent 11cf18bef9
commit c3fede03f0
+1 -1
View File
@@ -649,7 +649,7 @@ tmp.write_text(text)
tmp.replace(p) tmp.replace(p)
PY PY
if [[ -n $MENU_PROFILES ]]; then if [[ -n $MENU_PROFILES ]]; then
[[ ${XYMEDIA_INSTALL_CONFIRM:-} == INSTALL_XIAOYA ]] || { confirm=$(prompt_tty '输入 INSTALL_XIAOYA 继续 '); [[ $confirm == INSTALL_XIAOYA ]] || die '未确认小雅安装'; } [[ ${XYMEDIA_INSTALL_CONFIRM:-} == INSTALL_XIAOYA ]] || { confirm=$(prompt_tty '安装小雅将创建并启动相关容器,输入 1 继续,其他内容取消 '); [[ $confirm == 1 ]] || die '已取消小雅安装'; }
for profile in $MENU_PROFILES; do run_logged "${COMPOSE[@]}" --profile "$profile" --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" up -d || die "小雅 profile 启动失败:$profile"; done for profile in $MENU_PROFILES; do run_logged "${COMPOSE[@]}" --profile "$profile" --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" up -d || die "小雅 profile 启动失败:$profile"; done
fi fi
progress '下载 bootstrap runtime' progress '下载 bootstrap runtime'