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.
I also tried with the package “zip-dir”. Same problem.
Any idea of which package I could use instead? Or some workaround?