#!/bin/bash
# 恢复原配置文件 (Linux/Mac)

echo "========================================"
echo "恢复原配置文件"
echo "========================================"
echo ""

echo "[1/2] 恢复配置文件..."
if [ -f "manifest.json.bak" ]; then
    cp manifest.json.bak manifest.json
    rm manifest.json.bak
    echo "    已恢复 manifest.json"
fi
npm run pages:full
echo ""

echo "[2/2] 完成！"
echo ""
echo "配置文件已恢复到原始状态"
echo ""
