mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 10:18:46 +03:00
fix(desktop): sign zip data descriptors in debug log export (#60456)
This commit is contained in:
committed by
GitHub
Unverified
parent
85699b5ec8
commit
1f67129936
@@ -275,7 +275,8 @@ function collect(fs: FileSystem.FileSystem, path: Path.Path, dir: string, prefix
|
||||
function writeZip(fs: FileSystem.FileSystem, output: string, entries: Entry[]) {
|
||||
return Effect.gen(function* () {
|
||||
const { BlobReader, BlobWriter, ZipWriter } = yield* Effect.promise(() => import("@zip.js/zip.js"))
|
||||
const writer = new ZipWriter(new BlobWriter("application/zip"))
|
||||
// macOS Archive Utility and ditto reject bit-3 data descriptors without the PK\x07\x08 signature.
|
||||
const writer = new ZipWriter(new BlobWriter("application/zip"), { dataDescriptorSignature: true })
|
||||
yield* Effect.forEach(
|
||||
entries,
|
||||
(entry) =>
|
||||
|
||||
Reference in New Issue
Block a user