Skip to content

Android 基于 bsdiff 的增量更新补丁合并方案

Notifications You must be signed in to change notification settings

Quickits/QPatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QPatch

Android 基于 bsdiff 的补丁合并方案

bsdiff and bspatch

bsdiffbspatch 是一个创建和应用补丁到二进制文件的工具。

bsdiff:用于拆分 bapatch:用于合并

Ubuntu:

sudo apt-get install bsdiff
sudo apt-get install bspatch

Mac:

brew install bsdiff
brew install bspatch

PC 端生成补丁

补丁生成

$ bsdiff oldFile newFile patchFile

补丁合成

$ bspatch oldFile newFile patchFile

使用 QPatch 在 Android 端合成补丁

QPatch.patch(oldFile, newFile, patchFile);

相关源码

About

Android 基于 bsdiff 的增量更新补丁合并方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published