mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-25 11:00:07 +08:00
fix: Fix updater not checking the version
This commit is contained in:
parent
414f7a64b7
commit
e41812be42
@ -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"));
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user