From e41812be42c99e098be82b0df1cf5a5b92bf9ec2 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 17 May 2024 23:57:05 +0330 Subject: [PATCH] fix: Fix updater not checking the version --- ui/mainwindow_grpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/mainwindow_grpc.cpp b/ui/mainwindow_grpc.cpp index 55332bd..e5a5f63 100644 --- a/ui/mainwindow_grpc.cpp +++ b/ui/mainwindow_grpc.cpp @@ -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")); });