panwriter icon indicating copy to clipboard operation
panwriter copied to clipboard

Please could we have an Arm Linux package?

Open lproven opened this issue 1 year ago • 4 comments

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.

lproven avatar Mar 07 '24 18:03 lproven

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?

mb21 avatar Mar 07 '24 19:03 mb21

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.

lproven avatar Mar 08 '24 17:03 lproven

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

mb21 avatar Mar 09 '24 09:03 mb21

I've added this in https://github.com/mb21/panwriter/commit/edf6b24b6fc89246cb7a0a41c9593f4d2d938553, but will still need to do a release.

mb21 avatar Jul 14 '24 10:07 mb21