-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Electron-Builder - Windows & Linux & Mac - ZIP #3644
base: master
Are you sure you want to change the base?
Conversation
While trying to run the above to release a zip, I get the following error:
|
Yes, this .zip are generated using the electron-builder. |
@deinok Usually though, all archives are made from 1 OS (Mac OSX), which currently doesn't seem possible? |
Well, yes, there are some issues with this. This are the issues: MacOS can only build on MacOS To build for linux you exec "npm run release:linux" and for win you run "npm run release:windows", etc... The best way is to use CIs to make the releases. |
@deinok We were able to do this previously without any issues. I didn't think that our conversion to TS would imply these limitations? |
Well, TS things are not related to electron-builder. |
@deinok any chance we can leverage containers to do this? Aka we boot up a container that has all of the packages needed to make this work? |
Well, there are a electron-builder images for building linux and win (not appx). I can try sto search some other solutions |
That'd be great! Thanks a lot for your help |
Ok, I have added a package.script called "release:all-zip". This should build only .zip for all plataforms (But it will only completely in MacOS due MacOS requirement). Here is more information about building for all plataforms: https://www.electron.build/multi-platform-build Also, I'm going to open an issue in electron-builder to try to avoid the MacOS requirements with only .zip packages |
.zip files are added as distribute targets to all SOs.
Resulting files have been tested in Windows 10 and in Ubuntu 16.04