From cc24bfb9c3a286ad69f1311dce16be9e2a8a73f1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 23 Feb 2021 23:09:13 +0100 Subject: [PATCH] update: disable release cycle check Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/824a68d8aad1c34931826d763e60f02a1a7c0fe9 Author: vanhofen Date: 2021-02-23 (Tue, 23 Feb 2021) Origin message was: ------------------ - update: disable release cycle check ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 93439d769..9f42e25c4 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -431,12 +431,14 @@ bool CFlashUpdate::checkVersion4Update() if (gotImage) { +#if 0 if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) && (ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes)) { delete versionInfo; return false; } +#endif if ((fileType != '0' /*Release*/) && (ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_EXPERIMENTALIMAGE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))