项目作者: GankLun

项目描述 :
android bsdiff and bspatch which includes java source code and native source code
高级语言: C
项目地址: git://github.com/GankLun/bsdiff-cross-platform.git
创建时间: 2017-03-12T05:15:56Z
项目社区:https://github.com/GankLun/bsdiff-cross-platform

开源协议:

下载


bsdiff-cross-platform

bsdiff and bspatch which generates binary diff file in server and binary patch file in client

bsdiff bspatch

DiffBinary

  • DiffHelper.startDiffByCmd(String oldApkPath, String newApkPath, String patchPath) that bsdiff by commond in server

  • DiffHelper.startDiff(String oldApkPath, String newApkPath, String patchPath) that bsdiff by JNI invoke in server,which will load dynamic link library.

  • java -jar diffbinary2.jar oldApkPath newApkPath patchPath by commond in server

PatchBinary

PatchBinary: PatchUtil.getInstance().applyPatch(oldApkPath, newApkPath, patchPath, targetMd5Hex) that generates new APK and make sure new APK
MD5 equals targetMd5Hex

bsdiff-win64-dll

bsdiff-win64-dll: bsdiff win64 source code which can generate bsdiff-win64-dll.dll run on windows x64

bsdiff

bsdiff: bsdiff win64 source code which can generate bsdiff.exe on windows x64

bspatch-win64-dll

bspatch-win64-dll: bspatch win64 source code which can generate bspatch-win64-dll.dll on windows x64

bspatch

bspatch: bspatch win64 source code which can generate bspatch.exe on windows x64

Linux

Linux: bsdiff bspatch executable file on Linux

Mac

Mac: bsdiff bspatch executable file on mac os

Documentation