# .gitignore

# ---------------------------------------------------------------------------
# --- General / OS ----------------------------------------------------------
# ---------------------------------------------------------------------------
# Logs and databases
logs
*.log
*.sql
*.sqlite

# OS-generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# ---------------------------------------------------------------------------
# --- IDEs / Editors --------------------------------------------------------
# ---------------------------------------------------------------------------
.idea/
.vscode/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# ---------------------------------------------------------------------------
# --- Python Specific -------------------------------------------------------
# ---------------------------------------------------------------------------
# Virtual Environments
venv/
.venv/
ENV/
env/
venv.bak/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# ---------------------------------------------------------------------------
# --- Node.js / Client Specific -------------------------------------------
# ---------------------------------------------------------------------------
# Dependency directories
node_modules/
/jspm_packages/

# Build output
# /dist/ # 保留，因为这是Vite前端的构建输出目录
/release/
/out/
/.vitepress/dist/
/.vitepress/cache/

# Cache files
.npm/
.eslintcache
.stylelintcache
.cache/
.parcel-cache/
*.tsbuildinfo

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Other
*.tgz
.yarn-integrity
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# ---------------------------------------------------------------------------
# --- Rust / Tauri Specific -------------------------------------------------
# ---------------------------------------------------------------------------
# Tauri build artifacts. 
# 注意: Cargo.lock 文件不应被忽略，以确保可复现的构建。
target/
gen/

# ---------------------------------------------------------------------------
# --- Project Specific & Sensitive Info -------------------------------------
# ---------------------------------------------------------------------------
# Secrets and environment variables (DO NOT COMMIT)
.env
.env.*
!.env.example
config.yaml

# Personal scripts and temporary files (adjust as needed)
/sum.sh
/project_code_archive.md
# 取消下面这行的注释来忽略你的开发脚本
#/run_dev.bat
