Repository navigation
AppImages kept outside a launcher (Gear Lever's ~/AppImages) are found - #383
Merged
elripalda merged 3 commits intoNov 21, 2026
Merged
Conversation
…are found The scan for recomps the player already has looked only in other launchers' lists and Steam, so a recomp kept as a loose AppImage was offered for download again. It now also looks in ~/AppImages, ~/Applications and ~/.local/bin, and at the AppImages the app menu's desktop files start. Each AppImage is its own game even when several share a folder, the launcher's own is left out, and one the launcher unpacked before shows as already in the Library. Fixes elripalda#382
Recomps you already have and Bring Your Games listed found games by folder, so two AppImages in ~/AppImages became one row. They're told apart by the AppImage now.
…AppImage it points to Gear Lever names that link without .appimage, so it was passed over; a link now counts by its real file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Fixes #382. On Linux, recomps kept as loose AppImages (like the ones Gear Lever keeps in
~/AppImages) weren't found, so the launcher offered to download them again. The scan for recomps you already have only looked in other launchers' lists and Steam.~/AppImages(Gear Lever),~/Applications(AppImageLauncher),~/.local/bin, and the AppImage that each app-menu desktop file in~/.local/share/applicationsstarts. A link counts by the file it points to, so Gear Lever's~/.local/bin/dusklight(no.appimage) is the same game as~/AppImages/dusklight.appimage.recomplauncher.jsonproject, else by name) or have "recomp" in their name are offered; other apps there are left alone. The launcher's own AppImage, and older copies of it, are skipped. A folder that holds other things (home, Downloads) is skipped too.from_appimage), so it isn't offered twice.~/AppImagesbecame one row. Each AppImage is its own row now, labelled "An AppImage on this PC" (translated in all languages, added mid-file).Adding one works as before: the AppImage is unpacked into the Recomp Library and the player's AppImage stays where it is.
No change to
recomplauncher.json, the schema or the docs.How you tested it
On Bazzite (KDE VM):
cargo test: 969 passed (22 adopt tests, 10 of them new)node --test tests/*.test.cjs: 633 passed; all i18n files are valid JSONcemu,dusklight,lichii,recomplauncher,savage_wind,solidcraftandumoupen.appimagein~/AppImages, Gear Lever's link in~/.local/binand its desktop file), the real catalog:The test AppImages were small made-up images, not the real games, so nothing was played. Not tried on Windows or Mac (the scan there is unchanged).
Checklist
recomplauncher.json: the schema and docs are updated too (it doesn't)