#!/usr/bin/env bash
# restore-config — 一键恢复所有本地敏感配置(签名材料 / LLM key / Android 签名)
# 由 build.sh 委托调用:./build.sh restore-config
set -euo pipefail

echo "===== restore-config: 恢复全部本地敏感配置 ====="
"$REPO_ROOT/sign.sh" restore
"$REPO_ROOT/llm-config.sh" restore
"$REPO_ROOT/android-sign.sh" restore
echo "===== restore-config 完成 ====="
echo "本地配置已恢复;恢复产生的 build-profile.json5 / build.gradle 等修改属于本地配置,请勿提交(见 CLAUDE.md)"