Have a zip file with many files, but only one file is in the central directory. How can I programmatically rebuild the central directory? My project is using the browser implementation of JSZip.
I can use the “repair” facility of WinRAR, and the central directory is correctly rebuilt. How can I do this using browser-based Javascript?