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

fix: Allow downloading of x64 binary for arm64 snapshots #26

Merged
merged 1 commit into from May 11, 2020
Merged

fix: Allow downloading of x64 binary for arm64 snapshots #26

merged 1 commit into from May 11, 2020

Conversation

ghost
Copy link

@ghost ghost commented May 9, 2020

The file for arm64 is named "mksnapshot-vX.Y.Z-linux-arm64-x64.zip", and currently this script tries to download "mksnapshot-vX.Y.Z-linux-arm64.zip" and fails on arm64. The same applies for armv7l.

@ghost ghost changed the title Fix download on ARM64 fix: Allow use on arm64 May 9, 2020
@ghost ghost changed the title fix: Allow use on arm64 fix: Allow use on armv7l and arm64 May 11, 2020
@jkleinsc
Copy link
Contributor

@raspberrypifan unfortunately this will not fix #23 as it will download an x64 binary on arm/arm64 OSes. That binary will not run on arm/arm64. Those binaries are intended to be run on an x64 to create a snapshot that can then be used on arm/arm64. In electron/electron#17561 we removed native arm/arm64 mksnapshot binaries due to chromium incompatibilities.

@jkleinsc jkleinsc closed this May 11, 2020
@jkleinsc jkleinsc reopened this May 11, 2020
@jkleinsc jkleinsc changed the title fix: Allow use on armv7l and arm64 fix: Allow downloading of x64 binary for arm64 snapshots May 11, 2020
@jkleinsc
Copy link
Contributor

Merging as this PR does fix downloading the x64 arm64 binary on x64 platforms.

@jkleinsc jkleinsc merged commit baeb2a2 into electron:master May 11, 2020
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.

None yet

1 participant