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

node_modules
dist
dist-ssr
*.local

# Python bytecode cache
__pycache__/
*.pyc

# Python runtime (downloaded by scripts/setup-python.ps1)
src-tauri/resources/python/

# Staged slim Python runtime (generated by scripts/stage-python-dist.ps1)
src-tauri/resources/python-dist/

# Python venv / pytest cache
.venv/
.pytest_cache/

# Python runtime download cache
.cache/

# Android
android/.gradle/
android/.kotlin/
android/build/
android/app/build/
android/app/release/
android/local.properties
android/.idea/
android/*.apk
android/*.aab

# 正式 upload key（scripts/gen-upload-key.ps1 生成）—— 含私钥，绝不入库
android/keystore/

# Front-end assets synced into the Android shell (generated by
# scripts/sync-android-assets.ps1).  Deliberately NOT tracked: it is a build
# product.  Run the sync script (or build/scriptbuild.ps1) after clone, or the
# APK ships without a front-end and shows a white screen.
android/app/src/main/assets/www/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Build outputs from build/scriptbuild.ps1 (installers + APKs + manifest)
build/out/
build/chaquopy-libs/
build/wheels-cache/

# Chaquopy 的 python srcDir staging（scripts/build-apk.ps1 生成）：pyengine/ 剥掉 .venv / tests /
# __pycache__ 后的副本。特意不放在 android/app/build/ 下（那里会被 gradle clean 删空，
# 而 srcDir 指向已消失的目录会导致 APK 里没有 Python 源码）。
build/pyengine-src/
