Skip to content
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

Issue 5857 ${arch} causes a build fail #5905

Merged
merged 4 commits into from May 20, 2021

Conversation

vespasianvs
Copy link
Contributor

There are two problems here as reported in Issue #5857

If you are only using one architecture and you have a ${arch} in the pattern you get the file twice, once from this.archs and once from inside the loop added on line 124. This duplication meant that the builder was trying to output to the same file with two builds and failed. I have added a check to only add individual architectures, if the size of this.archs is greater than 1.

I've also changed each arch to build sequentially. The reason for this is the build was failing because it couldn't access the 7zip files or uninstaller for the build process because it was locked, causing the build to fail.

This seems to fix things, though someone else might have a better way of doing it?

@mmaietta mmaietta linked an issue May 19, 2021 that may be closed by this pull request
@mmaietta mmaietta self-assigned this May 19, 2021
@mmaietta mmaietta merged commit 014cbf5 into electron-userland:master May 20, 2021
@vespasianvs vespasianvs deleted the Issue-5857-arch branch May 21, 2021 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

${arch} in nsis artifactName causes build to fail
2 participants