Relative Content

Tag Archive for node.jszip

Directory name is not maintained during zip and unzip when they contain an extension

I am trying to zip an app directory via node.js (actually is an electron app). The name of the directory is “MovieSwift.app” (it’s an iOS app) using the “zip-local” package.
But when I unzip it afterwards, to see if it contains the files, the directory is named “MovieSwift”, which is a problem in my case, because the unzipping part is done by some external API that relies on the zipped directory having a .app extension.