Update dialog only who the most recent update (whether release or development).

This commit is contained in:
Robin Davies
2024-09-04 00:37:31 -04:00
parent 419d60d764
commit db9bc64cb4
+1 -1
View File
@@ -474,7 +474,7 @@ void Updater::CheckForUpdate(bool useCache)
std::vector<GithubRelease> releases;
for (size_t i = 0; i < vArray->size(); ++i)
{
auto &el = vArray->at(0);
auto &el = vArray->at(i);
GithubRelease release{el};
if (!release.draft && release.GetDownloadForCurrentArchitecture() != nullptr)
{