Update updater.cpp

deprecate suffix nightly, promote suffix daily
This commit is contained in:
Jürgen Weigert 2018-01-10 16:22:28 +01:00 committed by Olivier Goffart
parent ca200e788e
commit a33fc2a0db

View file

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