pulsar-edit / pulsar

A Community-led Hyper-Hackable Text Editor
https://pulsar-edit.dev
Other
3.24k stars 137 forks source link

Experiment: Fix building of AppImage version #1069

Open savetheclocktower opened 2 months ago

savetheclocktower commented 2 months ago

This is another draft based on my work in #1066 and tries to use CI to automate the process I described here of fixing the AppImage after it's generated. I'm not certain I'm doing the processor architecture stuff right, but we'll see what CI says.

savetheclocktower commented 2 months ago

After a lot of floating trial balloons over the GitHub Actions wall, I've got it working! Next step is to clean it up.

savetheclocktower commented 2 months ago

OK, I've cleaned up the script and explained it thoroughly so that people understand why it needs to exist.

At this point, I've proven that an AppImage artifact generated by the CI job on this PR branch produces an AppImage that invokes pulsar.sh instead of the pulsar.executable. It does the right things when I run (e.g.) ./Pulsar.AppImage --package list and ./Pulsar.AppImage --wait foo.txt.

I have not yet tried the ARM Linux job on Cirrus, but the step is present in .cirrus.yml.

I'll keep this in draft at least until #1066 is landed, but at least I can think about other things for a while.