Update updater.cpp

depricate suffix nightly, promote suffix daily
This commit is contained in:
Jürgen Weigert 2018-01-10 16:19:08 +01:00 committed by GitHub
parent 585d2b20bd
commit 9dc765142c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,8 @@ QUrl Updater::addQueryParams(const QUrl &url)
QString suffix = QString::fromLatin1(MIRALL_STRINGIFY(MIRALL_VERSION_SUFFIX));
query.addQueryItem(QLatin1String("versionsuffix"), suffix);
if (suffix.startsWith("nightly")
if (suffix.startsWith("daily")
|| suffix.startsWith("nightly")
|| suffix.startsWith("alpha")
|| suffix.startsWith("rc")
|| suffix.startsWith("beta")) {