From 0d9eaa03ea69e2a4de4524c8fb2aa57daf77bb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=8E=89=E6=96=8C?= Date: Thu, 1 Sep 2016 18:52:30 +0800 Subject: [PATCH] add download hotfix file infos --- README.md | 8 ++++++++ README_zh.md | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index 7cea534..f7c4c98 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,14 @@ also you can play with this app demo following the procedures below. 2. change code wherever you like & ./gradlew clean assembleRelease 3. adb push .../build/outputs/apk/app-release.apk /sdcard/demo.apk 4. kill Amigo demo by yourself & restart to check if your change works + +### retrieve hotfix file + +- make it simple, you just need a fully new apk + +- for user's network traffic's sake, you may just want to download a diff file + [bspatch](https://github.com/eleme/bspatch) is an option for you + license ==== diff --git a/README_zh.md b/README_zh.md index 87960df..588f52d 100644 --- a/README_zh.md +++ b/README_zh.md @@ -90,6 +90,15 @@ Amigo 目前能够支持修复Activity 和BroadcastReceiver。只需要将新的 2. 改动代码 & ./gradlew clean assembleRelease 3. adb push .../build/outputs/apk/app-release.apk /sdcard/demo.apk 4. 手动杀掉Amigo demo,重启检查是否代码已经生效 + +### 下载hotfix文件 + +- 简单来说,你只需要下载一个全新的apk + +- 为用户的流量照想, 你可能只想下载一个差分文件 + [bspatch](https://github.com/eleme/bspatch)可能是你的一个选择 + + License ====