AndroidPatcher
Introduction: Android 下的增量更新
Tags:
1. 介绍
类似 Google I/O 上提及的 Smart App update,应用增量更新机制
2. 原理
What is a patch?
A patch is a small text document containing a delta of changes between two different versions of a source tree. Patches are created with the `diff' program.
利用了 Linux 上的 Patch 打补丁的方法,将旧项目和新项目进行差别对比(使用 bsdiff 或者 Courgette 工具)生成 patch 文件,然后使用 bspatch 将旧项目与 Patch 进行合并