Zip based on cocos 3.x
#include "ZipArchive.h"
ZipArchive::ZipToPath( "ziptest.zip", FileUtils::getInstance()->getWritablePath().c_str() );
if you use password in zip, please delete the code "#define NOUNCRYPT" in unzip.cpp on line 72
#include "ZipArchive.h"
ZipArchive::ZipToPath( "ziptest.zip", FileUtils::getInstance()->getWritablePath().c_str(), "123" );