const fs = require("fs-extra-async");
// bsdiff 生成补丁
var diffBuf = bsdiff.diff(originBuf, zipBuffer);
fs.outputFileAsync("dist/" + oldzip + ".patch", diffBuf)
cdyf@QIL:/mnt/e/work/static_hybrid$ bspatch dist/all_1.3.3.zip new.zip dist/all_1.3.3.zip.patch
bspatch: Corrupt patch