fix: Fix updater not checking the version

This commit is contained in:
unknown 2024-05-17 23:57:05 +03:30
parent 414f7a64b7
commit e41812be42
No known key found for this signature in database
GPG Key ID: C2CA486E4F771093

View File

@ -503,7 +503,7 @@ void MainWindow::CheckUpdate() {
return;
}
if (response.release_download_url() == nullptr) {
if (response.release_download_url() == nullptr || QString(response.assets_name().c_str()).contains(NKR_VERSION)) {
runOnUiThread([=] {
MessageBoxInfo(QObject::tr("Update"), QObject::tr("No update"));
});