Add selectable Zhanxun signing profile for Android APK

This commit is contained in:
tongtong committed 2026-11-14 21:53:51 +08:00
1 parent 208d37b7d8
commit 40ff016f6b
3 files changed
+13 -5

No files matched your search

+4
View File
@@ -93,3 +93,7 @@ gradle :app:assembleRelease '-Pandroid.aapt2FromMavenOverride=F:/AndroidSDK/buil
重新构建仍需本机 agent.local.properties;该文件和签名配置都不得提交。没有新增自动启动或自动开启 adbd 行为,仍需用户点击保存并启动。产物为 ../bin/apk/ads-android-agent-0.1.1-crosshatch.apk,versionCode=2,默认 Crosshatch 签名。
后续 APK 统一交付到仓库 `bin/apk/`,该目录只保存自动生成的 APK,无业务源码且不纳入 Git。
## 可选 Zhanxun 签名
默认保留 Crosshatch;使用 `gradle :app:assembleRelease -PadsSigning=zhanxun` 选择 Zhanxun。密钥参数放在 Git 忽略的 `signing.zhanxun.local.properties`,字段与默认签名相同。产物名称带 `-zhanxun`,输出到根目录 `bin/apk/`。