Repository navigation
appimage: Rewrite appimage stuff to add gearlever like options - #189
Open
truelockmc wants to merge 8 commits into
Open
truelockmc wants to merge 8 commits into
truelockmc wants to merge 8 commits into
Conversation
- the appimage overlay now has a few new fields - "Website": You can now set the appimages website (if you want to find it again later or something) - "Command line arguments": Here, command line arguments that you want to run the appimage with can be configured - Those settings will be saved in the apps desktop entry (Exec= and X-CachyOS-PI-Website) - If you have unsaved settings, the overlay cannot be accidently closed by misclicking. Instead you have to press save or discard - Invalid arguments or URLS should show a warning - updated test_appimage.cpp
Author
Author
|
To-Do:
|
- added enviroment variables to the appimage detail menu. You can add them by clicking + and remove them by clicking on the bin. Variables will be saved as env NAME=value in the Exec= line. - Appimage settings like website, arguments and variables no longer get removed after the file gets updated. - parser fix in appimagedesktop.cpp: firstArgumentLength did not properly read " and \. Now it properly works like commandLine() - fixed that when you would open and close the details popup on an appimage, it would stay highlighted, even though it is not actually being hovered on - clicking open in the overlay now runs the appimage with the same arguments/variables as the desktop entry - updated test_appimage.cpp
- added "reload metadata" button, which re-reads name, description, icon and version from the file - Split the unpacking and icon staging out of install() into unpack() and stageIcon() so install and reload can share them (sharing is caring my fellas) - client errors are now shown in the detail popup, since the status area is not visible while it is opened
- With the option set, updates are looked up in the list of recent releases instead of /releases/latest, which never lists a pre-release. - stored in X-CachyOS-PI-Prereleases - releases are cached per source and choice - updated test_appimage.cpp
- Every appimage now has the update management fields. There is a source dropdown which contains none or github. - when github is selected, the user can add or edit the repository updates should come from and choose to allow pre-releases - saved as X-CachyOS-PI-Source= - updated test_appimage.cpp - Gave the appimage options popup a fixed height and made it scrollable, therefore the big diff in AppImagePage.qml
- reordered and properly grouped the options in the options overlay
- previously if you would enter username/repo it would show newer releases but you weren't able to save. Now the field automatically updates and users can save normally 👍
truelockmc
marked this pull request as ready for review
November 28, 2026 10:51
Author
appimage-options-overlay.mp4Ready for review :) |
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.

This PR aims to add a popup when clicking appimages on the appimage page.
The popup should show additional information and offer more options.
For now metadata refresh, website, arguments, environment variables and pre releases. In the future more stuff like multiple update sources (forgejo, static url, codeberg) could be added.
Gearlever option screen:

Current draft:

#113 #89
(this is the same PR as #141, but reopened to the develop branch since the fresh branch has been merged)