fix: don't assume stable channel, if tag is unset

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2022-06-23 11:02:25 +02:00
parent 89a30a47c5
commit cbc1aad58d
2 changed files with 15 additions and 5 deletions

View File

@ -157,6 +157,7 @@ class Config {
QString MODRINTH_STAGING_URL = "https://staging-api.modrinth.com/v2";
QString MODRINTH_PROD_URL = "https://api.modrinth.com/v2";
QString versionString() const;
/**
* \brief Converts the Version to a string.
* \return The version number in string format (major.minor.revision.build).