-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Incorrect zip files on MacOS #3534
Comments
You may update to the latest version of electron-builder. I had a similar problem when downloading the electron zip file and a |
Thank you for your response :) Unfortunately, the problem persists on To make things clear, there is no problem with electron zip, but with the ZIP file with the electron app produced by |
Oh, and by the way we are using |
Yes the zip file that This is due to electron-builder trying to embed blockmap information into the archive. This "corrupts" the zip file. |
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
As of `electron-builder@20.38.2`, the built zip files has been incorrect. On the other hand, older versions of `electron-builder` are unable to build application on MacOS 10.15 Catalina. Due to above, this commit removes `zip` from MacOS targets and adds a script that adds the built application to a correct zip archive. Related electron-userland/electron-builder#3534 Closes #1529
This PR enables updates for the macOS electron product. High level changes include: - we add a zip file target because of electron-userland/electron-builder#4230 - we create the zip file ourselves because of electron-userland/electron-builder#3534 (comment) - we update latest.yml to reflect the new zip file in the artifact
Version:
20.38.2
npm:
6.4.1
node:
10.13.0
Target:
MacOS
Electron-builder seems to produce incorrect zip files. yauzl throws error like this:
when trying to unzip generated files. On
electron-builder@<=20.28.4
this was not the case.Comment on
yauzl
related to this problem: thejoshwolfe/yauzl#48 (comment)Probably the change of behavior was introduced in this commit: a6c5bc4a#diff-3c6dfae80290537b7e199091b6944fdaR60
The text was updated successfully, but these errors were encountered: