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

Windows arm64 builds #518

Open
dam5s opened this issue Jun 21, 2024 · 3 comments
Open

Windows arm64 builds #518

dam5s opened this issue Jun 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@dam5s
Copy link

dam5s commented Jun 21, 2024

Problem Description

I just got a Microsoft Surface with arm64 processor, and while running the PWA x64 build mostly works, it has been crashing when trying to use it for streaming websites that use DRM protected content (e.g. Netflix, HBO...). These work fine in the official arm64 build of Firefox.

Proposed Solution

Add a Windows arm64 build to the CI pipeline and release arm64 installers for Windows.

Additional Information

I'm not sure how much extra work that entails and if that would make sense, but I appreciate your effort on this project. Anything I can do to help or any details I can add, let me know.

@dam5s dam5s added the enhancement New feature or request label Jun 21, 2024
@filips123
Copy link
Owner

filips123 commented Jun 21, 2024

It's currently not possible to provide ARM MSI installer, because PWAsForFirefox uses WiX Toolset v3 to build the installer, and v3 support for ARM is quite lacking (apparently there is some support, but I couldn't manage to make it work last time I tried). WiX Toolset v4/v5 has better support for ARM, but isn't supported yet by cargo-wix. Once v4 is supported by cargo-wix, I will try to add support for ARM (and fix a few other installer problems).

However, you can try to copy your normal Firefox installation (from C:\Program Files\Firefox or similar) to %APPDATA%\FirefoxPWA\runtime. This should make PWAs use the ARM version of Firefox. firefoxpwa.exe and firefoxpwa-connector.exe will still run through emulation, but it shouldn't really matter.

@dam5s
Copy link
Author

dam5s commented Jun 25, 2024

Thanks for the update, I will give this a shot in the meantime.

Here is a link to the cargo-wix issue tracking WiX v4 support for anyone that might stumble onto this -
volks73/cargo-wix#174

@filips123 filips123 moved this to On Hold in PWAsForFirefox Aug 4, 2024
@hermeneuticlens
Copy link

Upvoting this. PWA native/runtime performs poorly on Snapdragon X Plus/Elite platforms. Native ARM build should easily solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: On Hold
Development

No branches or pull requests

3 participants