unzip-crx icon indicating copy to clipboard operation
unzip-crx copied to clipboard

Hack to support crx3

Open haraldrudell opened this issue 5 years ago • 3 comments

New format has single protobuf header field this supports versions 2 and 3

This index.txt index.txt can be copied to ./node_modules/unzip-crx/dist/index.js

index-diff.txt

haraldrudell avatar Jun 07 '20 19:06 haraldrudell

I have made a PR adding crx3 support, but seems like the repo isn't actively maintained.

https://github.com/peerigon/unzip-crx/pull/11

ddramone avatar Jun 17 '20 10:06 ddramone

typescript version with only jszip as dependency: https://github.com/tjx666/vscode-archive/blob/main/src/unzipCrx.ts

tjx666 avatar Jan 23 '22 13:01 tjx666

This package is working.

It's a re-upload of the original with the fix to make it work with v.3. I haven't tested with version 2

LukeSavefrogs avatar Jan 08 '23 14:01 LukeSavefrogs