jsZip [C3 Runtime] (Construct 3 Plugins)

  • 7
    This content is deleted
    Addon
    jsZip [C3 Runtime]

    JSZip is a Javascript library for creating, reading and editing .Zip files, with a lovely and simple API.

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • macube Hey, I have a question:

    What would be the most efficient way to "extract a zip file to a given path"?

    Currently, I open the zip file with this plugin, and I read a txt file that is in my zip file that contains a list of names for each file in the zip. Then I do a loop to load each file in the zip as BASE64 into a binary data object, then I use the nwjs plugin to "write file to path" and it does work, but this whole thing is a very slow process. It locks up the whole window for about 20 seconds to deal with 100mb worth of files.

    Am I overcomplicating this?