Skip to content

生成的patch无法被bspatch使用 #3

@gucong3000

Description

@gucong3000
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions