mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Build fails for win-x64 under linux #483
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThuCommix on GitHub (May 9, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
I'm trying to setup a build for my electron app for multiple platforms: win-64x, linux-x64 and osx. After having giant trouble even with the linux build I rolled my own image and got it working. For example I needed to install the electron-builder globally because when just running electronize build I had got an error claiming that the post install of ejs failed.
However: Building for win-x64 in a docker container is currently not possible:
I think the flag was introduced a couple of commits ago. Is this expected behaviour or should the build work for win-x64 under linux?
Steps to Reproduce:
@GregorBiswanger commented on GitHub (May 9, 2020):
I activated
PublishReadyToRunby default because it had improved the startup speed enormously. I will build a command to disable it for the next version 8.31.2.@ThuCommix commented on GitHub (May 9, 2020):
If you're busy I can help you out with a pull request.
@GregorBiswanger commented on GitHub (May 9, 2020):
Thanks for your offer! We can always use reinforcements :)
Trigger me on gitter, if you want to participate.
I have already implemented this feature. With the next update 8.31.2 you can use the following command:
electronize build /target win /PublishReadyToRun falseor
electronize start /PublishReadyToRun falseAlternatively, it is active by default.