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

On writeZip is it possible to define the folder name that gets created on extract different from file name? #547

Open
dankbl opened this issue Oct 25, 2024 · 0 comments

Comments

@dankbl
Copy link

dankbl commented Oct 25, 2024

I'm trying to duplicate the command zip -r build.zip php/* ;, which creates a zip named build.zip but on extract creates a php dir. But when I do

await zip.addLocalFolder('./php');
await zip.writeZipPromise('./build.zip');

It creates a build dir.

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