Update Support
azubieta opened this issue · comments
Hello,
Did some progress with the appimage update functionality.
It checks for availability of update for the appimages based on the update information available in the appimage those are already downloaded in the system. If available it downloads the latest appimage.
Let's use the AppImage update information to group binaries and create update channels. By example the update string below would allow us to fetch the stable x86_64 builds for the product id in question. From the store side we would only have to call the features provided by appimage update.
ocs-v1-zsync|www.appimagehub.com/ocs/v1|<product id>|*stable-x86_64.AppImage
Regarding #96 NX Sc already integrates the downloaded AppImages
https://github.com/Nitrux/nx-software-center/blob/master/src/models/package.cpp#L15
https://github.com/Nitrux/nx-software-center/blob/master/src/utils/appimagetools.cpp#L18
@milohr in this case the download process is performed by appimage-update, so we still need to call the integrate method that it's already implemented.