Android 基于 bsdiff
的补丁合并方案
bsdiff
和 bspatch
是一个创建和应用补丁到二进制文件的工具。
bsdiff
:用于拆分
bapatch
:用于合并
Ubuntu:
sudo apt-get install bsdiff
sudo apt-get install bspatch
Mac:
brew install bsdiff
brew install bspatch
$ bsdiff oldFile newFile patchFile
$ bspatch oldFile newFile patchFile
QPatch.patch(oldFile, newFile, patchFile);