Repository navigation
Add anylinux-appimage - #2950
Conversation
- Add anylinux-appimage job in ci-build-linux.yml (x86_64 + aarch64) - Use pkgforge-dev/anylinux-setup-action + quick-sharun - Build AppImage from VSCode-linux-x64 artifact via get-dependencies.sh + make-appimage.sh - Add test-anylinux-appimage.yml for standalone testing - Old pkg2appimage build remains untouched
get-dependencies.sh: chmod -x on bin/codium to protect it from deployment make-appimage.sh: restore +x + cli-router.hook that exec's bin/bin/codium when --* args are detected (--install-extension, --version, etc.)
|
@Shikakiben Can you remove the old appimage? If your version is good, it should replace the old-broken appimage ;) @Samueru-sama Based on your experience with https://github.com/pkgforge-dev/Visual-Studio-Code-AppImage, does the resulting appimage can access the system env variables like |
I don't use the VIsual-Studio appimage xd
Yes if you set Loading libraries from the host will just cause the appimage to crash. iirc the original appimage from here had a problem that it set In any case we also don't use |
…ge is now the only AppImage source [skip ci]
…naming [skip ci] - x86_64: .glibc2.30-x86_64.AppImage -> -anylinux-x86_64.AppImage - ARM64: add AppImage entry (new anylinux-appimage supports arm64) - Alpine: reference the same anylinux AppImage (Anylinux-AppImages are Alpine compatible)
done👍 i kept the legacy appimage folder (but it is link to nothing, you can delete it if you want) , i also modified the release-notes.md to match the change. 🙂 |
|
Sorry, I'm a bit busy which my current task. I will get back to this PR and VSCodium as soon as I've finished it. |
|
Coming from #2963 at @daiyam's request. I'm on Debian testing (forky), where FUSE 2 has been removed from the archive, so the current pkg2appimage AppImage doesn't start at all. I built this PR's AppImage locally and tested it there. Build. Replicated the Result: Test conditions. no Current AppImage (pkg2appimage), for reference: exit 1 - the failure from #2963. The AppImage built from this PR, same machine, same conditions: exit 0. It mounts as Two incidental findings. One more thing I checked on the artifacts: existing AppImages carry the update info On this evidence the PR fixes #2963 outright. |
|
I will make some changes to the workflows and update value replacements to make it more generic. |
|
@Shikakiben Make sure to disclose your use of IA when coding. Because leaving a Anyways, I've merged your 2 scripts and anonymize it so it can be used for derived IDEs. |
|
@Shikakiben Thanks |
|
@Samueru-sama and @nilltadios Thank for your feedback |
|
Hi, I've tested the AppImage with https://github.com/VSCodium/vscodium-insiders/releases/tag/1.135.05934-insider Without Shouldn't the |
Ubuntu 24 and newer? If you you hit the namespace restriction they put which breaks electron apps. Running with https://github.com/pkgforge-dev/Anylinux-AppImages/blob/main/useful-tools/hooks/fix-namespaces.md |
|
@Samueru-sama Thx |
|
Ok. It's working fine on the 3 systems I've tested (Ubuntu 25.10, Fedora 38, Debian 13). The only problem I have is with the icon on Ubuntu. It doesn't use the correct one. But I have the same issue with |
Common, we test on systems much older than that xd Ubuntu 14
I believe that is normal if you are using GNOME Wayland, since it doesn't support xdg-toplevel-icon If you meant the appimage icon in the filemanager, that's because you need a thumbnailer that supports dwarfs, basically: https://github.com/kem-a/appimage-thumbnailer |

Summary
This PR adds an appImage build based on quick-sharun (Anylinux-AppImages tools) as a modern alternative to the legacy pkg2appimage-based AppImage.
It introduces:
build/linux/anylinux-appimage/get-dependencies.sh— extracts the VSCodium binary, sets up desktop entries, and installs the CLI-routing hookbuild/linux/anylinux-appimage/make-appimage.sh— builds the AppImage with quick-sharunbuild/linux/anylinux-appimage/cli-router.hook— a hook that routes every launch through thecodiumCLI script, socodium --install-extension ...(and all CLI commands) work from the AppImagepublish-stable-linux.yml,publish-insider-linux.ymlandci-build-linux.yml: thebuildjob uploads avscode-bin-{arch}artifact (x64/arm64), and a newanylinux-appimagejob builds the AppImage in apkgforge-dev/archlinuxcontainer and uploads/releases ittest-anylinux-appimage.yml— a standalone workflow to test the pipelineValidation
get-dependencies.sh+make-appimage.sh+cli-router.hook) is tested and working viatest-anylinux-appimage.ymlandci-build-linux.yml.publish-stable-linux.ymlcould not be completed on my fork: thebuildjob (matrix) fails on unrelated issues — a network timeout hittingarchive.ubuntu.com(port 80) in the legacy pkg2appimage step, and a failingbuild (RISCV64)job. Sinceanylinux-appimagedepends on thebuildjob, it was skipped.anylinux-appimageis produced identically to the working test: same container (vscodium/vscodium-linux-build-agent:focal-x64), samepackage_bin.sh, same tar command.HI 👋🙂
i made the Explanations above with AI because my english is not very good 😅 i use Visual-Studio-Code-AppImage as exemple it also provide an arm release and should work on alpine (didn't test it). as said above the anylinux-appimage work but i can not be certain about the integration, also the integration add the anylinux-appimage but don't replace the other appimage not my call to do that.
it should fix #2694 and #2436