blocktronics / moebius

Modern ANSI & ASCII Art Editor
https://blocktronics.github.io/moebius/
Apache License 2.0
755 stars 41 forks source link

Linux arm64 builds/packages #227

Open DavidBuchanan314 opened 9 months ago

DavidBuchanan314 commented 9 months ago

In theory, this might be as simple as adding an arch: [x64, arm64] line to electron-builder.yml.

But nothing is ever so simple...

It works, but the appimage it produces contains ELFs with 4k-aligned load segments, which do not work on my system (asahi fedora). This is presumably an upstream issue with electron-builder, which I'll try to investigate.

I haven't tried building a snap yet, because I keep my systems snap-free where possible.

In the meantime npm start works perfectly.

dayne commented 7 months ago

Might revisit this problem with the latest dependabot PR #231 that brings in a build fix for arm64:

https://github.com/electron-userland/electron-builder/pull/8086

Not sure if that actually fixes the issue you were seeing but figured I'd bring it to your attention to evaluate.