Skip to content

Commit

Permalink
update warning text;
Browse files Browse the repository at this point in the history
  • Loading branch information
housisong committed Dec 9, 2023
1 parent a71c1c5 commit a96f8cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/apk_normalized.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ static void printUsage(){
" if found uncompressed .so file in the zip, need align it to 4k page?\n"
" -ap-0 not page-align uncompressed .so files;\n"
" -ap-1 DEFAULT, page-align uncompressed .so files.\n"
" WARNING: if have uncompressed .so file & do page-align,\n"
" it can't patch by old(version<v1.7.0) ZipPatch!\n"
" -nce-isNotCompressEmptyFile\n"
" 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"
Expand Down
2 changes: 1 addition & 1 deletion src/normalized/normalized.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ bool ZipNormalized(const char* srcApk,const char* dstApk,int ZipAlignSize,int co
(int)UnZipper_ApkV2SignSize(&unzipper));
}
if (zipper._normalizeSoPageAlignCount>0)
printf("WARNING: this is new diffFile format, it can't patch by old(version<v1.7.0) ZipPatch!\n");
printf("WARNING: found uncompressed .so file & do page-align, it can't patch by old(version<v1.7.0) ZipPatch!\n");
printf("src fileCount:%d\nout fileCount:%d\n\n",fileCount,(int)fileIndexs.size());

clear:
Expand Down

0 comments on commit a96f8cd

Please sign in to comment.