Skip to content

Commit

Permalink
update version;
Browse files Browse the repository at this point in the history
  • Loading branch information
housisong committed Jul 6, 2024
1 parent 14c6046 commit 71902be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [ApkDiffPatch]
[![release](https://img.shields.io/badge/release-v1.7.1-blue.svg)](https://github.com/sisong/ApkDiffPatch/releases)
[![release](https://img.shields.io/badge/release-v1.7.2-blue.svg)](https://github.com/sisong/ApkDiffPatch/releases)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/sisong/ApkDiffPatch/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-blue.svg)](https://github.com/sisong/ApkDiffPatch/pulls)
[![+issue Welcome](https://img.shields.io/github/issues-raw/sisong/ApkDiffPatch?color=green&label=%2Bissue%20welcome)](https://github.com/sisong/ApkDiffPatch/issues)
Expand Down
6 changes: 3 additions & 3 deletions src/apk_normalized.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static void printUsage(){
" release signedApk:=AndroidSDK#apksigner(normalizedApk)\n"
" -cl-compressLevel\n"
" set zlib compress level [0..9], recommended 4,5,6, DEFAULT -cl-6;\n"
" WARNING: -cl not recommended 7,8,9, compress rate is high, but\n"
" NOTE: zlib not recommended 7,8,9, compress ratio is slightly higher, but\n"
" compress speed is very slow when patching.\n"
" -as-alignSize\n"
" set align size for uncompressed file in zip for optimize app run speed,\n"
Expand All @@ -72,7 +72,7 @@ static void printUsage(){
" if found compressed empty file in the zip, need change it to not compressed?\n"
" -nce-0 keep the original compress setting for empty file;\n"
" WARNING: if have compressed empty file,\n"
" it can't patch by old(version<v1.3.5) ZipPatch!\n"
" it can't patch by old(version<v1.3.5) ZipPatch!\n"
" -nce-1 DEFAULT, not compress all empty file.\n"
" -q quiet mode, don't print fileName\n"
" -v output Version info. \n"
Expand Down Expand Up @@ -193,7 +193,7 @@ int normalized_cmd_line(int argc, const char * argv[]){
}

if (compressLevel>6)
printf("WARNING: not recommended 7,8,9, compress rate is high, but compress speed is very slow when patching.\n");
printf("WARNING: not recommended 7,8,9, compress ratio is slightly higher, but compress speed is very slow when patching.\n");

_options_check(arg_values_size==2,"count");
const char* srcApk=arg_values[0];
Expand Down
2 changes: 1 addition & 1 deletion src/diff/DiffData.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define kDefaultZlibCompressMemLevel DEF_MEM_LEVEL
#define kDefaultDiffMatchScore 3 // for hdiff

bool zipFileData_isSame(UnZipper* self,int selfIndex,UnZipper* srcZip,int srcIndex);//byte by byte test
bool zipFileData_isSame(UnZipper* self,int selfIndex,UnZipper* srcZip,int srcIndex);//byte by byte compare uncompressed data
bool getZipIsSame(const char* oldZipPath,const char* newZipPath,
int newApkFilesRemoved=0,bool* out_isOldHaveApkV2Sign=0);
bool getZipIsSameWithStream(const hpatch_TStreamInput* oldZipStream,
Expand Down
2 changes: 1 addition & 1 deletion src/patch/patch_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#define APKDIFFPATCH_VERSION_MAJOR 1
#define APKDIFFPATCH_VERSION_MINOR 7
#define APKDIFFPATCH_VERSION_RELEASE 1
#define APKDIFFPATCH_VERSION_RELEASE 2

#define _APKDIFFPATCH_VERSION APKDIFFPATCH_VERSION_MAJOR.APKDIFFPATCH_VERSION_MINOR.APKDIFFPATCH_VERSION_RELEASE
#define _APKDIFFPATCH_QUOTE(str) #str
Expand Down

0 comments on commit 71902be

Please sign in to comment.