-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign crx API #61
Comments
I'm not sure that separating Also, while this: .then(stream => stream.pipe(fs.createWriteFile('extension.crx'))); looks quite nice, it would require keeping everything in memory. I thought the goal was to stream data without caching it. |
API
crx(files, options)
file selection constructorpack().then(archive)
sign(archive).then(crx)
getManifest(appId)
Under the hood we need to have:
generateAppId(publicKey).then(appId)
generateSignature(archive).then(signature)
Are dropped:
writeFile
load
options.rootDirectory
,options.path
andoptions.src
Options
ignore
(defaults to['*.pem', '.git', '*.crx']
)publicKey
privateKey
(optional, to use#sign()
only)autoupdate
codebase
prodversionmin
The text was updated successfully, but these errors were encountered: