mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 12:03:25 -08:00
[Docs] Document what ReleaseChannel::getTargetVersionForCurrentOS returns (#7882)
This commit is contained in:
parent
223ab844a0
commit
5c7ac6412e
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ protected:
|
|||
Release *lastRelease;
|
||||
|
||||
protected:
|
||||
// Major OS version an installer asset targets, parsed from its file name; std::nullopt when
|
||||
// the asset has to be skipped: the name carries no target version, that version is newer
|
||||
// than this host's OS, or the platform publishes no updater assets (Linux, 32-bit Windows).
|
||||
// nullopt therefore means "not for this host", not "unknown version".
|
||||
static std::optional<int> getTargetVersionForCurrentOS(const QString &fileName);
|
||||
static QString findBestDownloadUrl(const QVariantList &assets);
|
||||
[[nodiscard]] virtual QString getReleaseChannelUrl() const = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue