- 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
22 lines
751 B
Prolog
22 lines
751 B
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
# class:
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
# public *;
|
|
#}
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|