UpdateHandler: Check against releases not commits
I wrote this for the flathub release where an "new version" dialog was shown on every launch.
The dialog contains a link to https://github.com/IENT/YUView/releases which of course doesn't have a newer version.
Perhaps this branch needs more thought and should check the releases endpoint when compiled from a tagged branch and commits when compiled from develop assuming that would be useful.
Initially this patch was in an MR for the flathub (https://github.com/flathub/de.rwth_aachen.ient.YUView/pull/21) which I've updated to simply remove the network permission. I couldn't see any other features that this software uses network access for and directing the user to update in that context isn't useful, unless the flathub repo becomes unmaintained.
I will have to test but I think this is the better option for releases at least. The original idea was, that you are on the main branch and as soon as there is a new merge on the main branch, you would get this message. But in another case, you probably want to be on the "release" branch and just get a message if there is a new "complete release".