Open Semnodime opened 2 years ago
Agreed, unfortunately, the Krita appimage.github.io page has no Download button, and hence we are not able to access them: https://appimage.github.io/Krita/
So, if I understand correctly, zap
requires the Download-Button on the appimage.github.io
page.
I want to kindly suggest printing some error message which clarifies why no candidate is available (maybe along the appimage.github.io
link, so the user can download the appimage manually).
In the specific case of krita
, the homepage under https://krita.org/en/download/krita-desktop/ provides the .appimage
.
Also, krita's github page lists the sources for both the latest stable and the unstable release:
They can also be parsed from their respective zsync files, which appear to have a permanent link:
Is there some way to integrate it into zap?
Yes, we should be able to do it if we are able to move to our own catalog of appimages. Currently, we depend on appimage.github.io
, and appimage.github.io doesn't support these. Maybe we could support them, in a separate backend built separately by us. What do you think? I think this is a good idea on the long term :thinking:
Yes it would definitely be a good idea, I was just working in a shell script to hackily doing this, but if we can integrate this into a proper program that would be great.
We could have a parser for gitlab, github as mentioned in #77, and other sources outside of the ones the program already has.
I would be willing to help since I have some time now but I wouldn't know where to start
zap search krita
zap install krita