mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.01k stars 45 forks source link

Please could we have an Arm Linux package? #158

Open lproven opened 4 months ago

lproven commented 4 months ago

I am evaluating a Raspberry Pi 5 as an at least standby main work machine. It has sufficient storage, memory, and CPU capacity, and it can drive 2 displays.

There are Arm builds of Panwriter for macOS but not for Linux. Please add an Arm64 Linux appimage.

mb21 commented 4 months ago

Hello! This is configured around here: https://github.com/mb21/panwriter/blob/master/package.json#L115

Would you know the correct electron-builder build target for that?

lproven commented 4 months ago

Would you know the correct electron-builder build target for that?

Oh my. Not the foggiest idea.

Does this help? https://github.com/electron-userland/electron-builder/issues/831

I think the flag might be --arm64but the snag is that according to this page:

ARM apps have to be built on ARM machines Because Electron apps require a bunch of native binaries, if you want to run an ARM build, you have to run it on an ARM box, so that you can build-in the right versions of the binaries. Technically this isn’t always true if there are pre-packaged versions of libraries to link against, but in reality best to just assume this is a fact.

mb21 commented 4 months ago

Ah, I don't have an ARM linux box lying around. But it shouldn't be too difficult to build it yourself: see https://github.com/mb21/panwriter/?tab=readme-ov-file#develop