Skip to content

Commit

Permalink
Merge pull request eleme#21 from JackCho/add_bspatch_to_readme
Browse files Browse the repository at this point in the history
add download hotfix file infos
  • Loading branch information
canaanyjn authored Sep 1, 2016
2 parents 4e1b38d + 0d9eaa0 commit 12ccfda
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
====
Expand Down
9 changes: 9 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
====
Expand Down

0 comments on commit 12ccfda

Please sign in to comment.