- Windows exe:electron-builder 配置 + build:exe 一键打包 - Android APK:离线打包脚手架(命令打包,无需 Android Studio),包名/签名沿用散单项目 - 版本统一:package.json 三段版本,APK versionCode 自动推导 - 配置统一到 config/ 目录,含密钥文件 git 忽略并配套 example 模板 - env.js 接口地址改为环境变量注入,移除敏感信息 - 删除 info/basicinfo.txt(含账号/IP 数据) - tsconfig 移除已弃用的 baseUrl
38 lines
870 B
Plaintext
38 lines
870 B
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
.DS_Store
|
|
dist
|
|
*.local
|
|
|
|
# build artifacts (exe under release/windows, apk under release/android)
|
|
release
|
|
|
|
# Android offline packaging
|
|
# keystore files and local config (contains secrets) are NOT tracked.
|
|
# Copy config/android.example.json to config/android.json to configure.
|
|
# See config/README.md for all config conventions.
|
|
android-offline/keystore/
|
|
config/android.json
|
|
|
|
# Android SDK project: sources are tracked (ensure consistent build base),
|
|
# only local build outputs are excluded.
|
|
android-offline/HBuilder-Integrate-AS/local.properties
|
|
android-offline/HBuilder-Integrate-AS/.gradle/
|
|
android-offline/HBuilder-Integrate-AS/.idea/
|
|
android-offline/HBuilder-Integrate-AS/**/build/
|
|
|
|
# Editor directories and files
|
|
.idea
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw? |