desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Deploy dependencies in AppImage

Open Samueru-sama opened this issue 9 months ago • 4 comments

fixes #7967 and likely other similar issues.

So far Zen has just used the portable tarball build repacked as an AppImage, while this is usually good enough™ It means that the AppImage can't really work everywhere since the portable tar build depends on the host glibc.

These changes add the needed dependencies to guaranteed operation anywhere, such as musl distros and distros as old as ubuntu 14.04.


Considerations:

This change will break integration with appimaged and appimagelauncher since I switched the AppImage to dwarfs to reduce the final size (now 180 MiB). I could go back to squashfs but that makes the AppImage +250 MiB and I don't think it is worth it 👀

Note that this is unrelated to the infamous execv error people will still be able to launch it even on appimagelauncher, just that integration is broken due to it not being able to read dwarfs.

AM, dbin, Gearlever, soar, etc already support dwarfs so it is not an issue there.

Note I'm not able to figure out how the CI works, so I'm not sure if I made a mistake in the steps. 😅 I did testing here instead by using the tarball directly.

Samueru-sama avatar May 23 '25 22:05 Samueru-sama

Please run npm run pretty

mr-cheffy avatar May 23 '25 23:05 mr-cheffy

Please run npm run pretty

I'm not sure how to do that 😅

Samueru-sama avatar May 23 '25 23:05 Samueru-sama

@Samueru-sama in the console run "npm run pretty"

JosueGalRe avatar May 23 '25 23:05 JosueGalRe

@Samueru-sama in the console run "npm run pretty"

First time I use npm, hopefully it is all ok now.

Samueru-sama avatar May 24 '25 00:05 Samueru-sama

bumping thread to see if this can be merged. Is everything ok with this PR @mr-cheffy? I'd appreciate it very much if this gets to main

xlc-dev avatar Jun 24 '25 09:06 xlc-dev