Skip to content
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

Able to remove Seed file item #22

Open
vlagnar opened this issue Oct 26, 2023 · 0 comments
Open

Able to remove Seed file item #22

vlagnar opened this issue Oct 26, 2023 · 0 comments

Comments

@vlagnar
Copy link

vlagnar commented Oct 26, 2023

This might be a good item to add to allow for the file to be created without the seed.

function _write(cfb, options) {
var _opts = options || {};
/* MAD is order-sensitive, skip rebuild and sort */
if(_opts.fileType == 'mad') return write_mad(cfb, _opts);
rebuild_cfb(cfb);
if (_opts.noseed) cfb_del(cfb, "/\u0001Sh33tJ5"); <--------------- Added to allow for the file item not to be created!!!!
switch(_opts.fileType) {
case 'zip': return write_zip(cfb, _opts);
//case 'mad': return write_mad(cfb, _opts);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant