From 03a533008c806c26658ef4a89009fb899702ec9d Mon Sep 17 00:00:00 2001 From: GeJiaXiang <353358601@qq.com> Date: Fri, 8 Mar 2024 10:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=EF=BC=9A1.?= =?UTF-8?q?0.12+20240308?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- star_lock/README.md | 5 ++++- star_lock/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/star_lock/README.md b/star_lock/README.md index 0595b9e1..0e53a6c1 100644 --- a/star_lock/README.md +++ b/star_lock/README.md @@ -101,7 +101,10 @@ flutter build appbundle --release --flavor sky -t lib/main_sky.dart - 注意,这里的sky.jks和google_pek.zip和encryption_public_key.pem都是sky渠道的,和谷歌账号对应。如果需要使用其他谷歌账号,需要更换这两个文件。 ## 用于华为商店 - +1. 复制谷歌的 (PEPK) 工具 +2. 生成密钥 ```bash java -jar android/huawei/pepk.jar --keystore=android/app/sky.jks --alias=upload --output=android/huawei/huawei_pek.zip --encryptionkey=034200041E224EE22B45D19B23DB91BA9F52DE0A06513E03A5821409B34976FDEED6E0A47DBA48CC249DD93734A6C5D9A0F43461F9E140F278A5D2860846C2CF5D2C3C02 --include-cert ``` +3. 上传密钥 +4. 编译和上传 app bundle,和谷歌的一样编译出aab文件即可 diff --git a/star_lock/pubspec.yaml b/star_lock/pubspec.yaml index fe4dc2b9..571efac8 100644 --- a/star_lock/pubspec.yaml +++ b/star_lock/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.11+20240306 +version: 1.0.12+20240308 environment: sdk: '>=2.12.0 <3.0.0'