From 13b14d51aea5866f0985d549dc28569625aa2097 Mon Sep 17 00:00:00 2001 From: KimHe Date: Sat, 27 Jul 2019 11:12:03 +0800 Subject: [PATCH] [ver:] version 2.12 --- AUTHORS.txt | 5 ++--- isSMBupdateAvailable.m | 8 ++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 1e60ec1..9aed7d5 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,6 +1,5 @@ Eric von Lieres Email: e.von.lieres@fz-juelich.de -Qiaole He - Email: q.he@fz-juelich.de - +Qiao-Le (Kim) He (maintainer) + Email: qiaole.he@rwth-aachen.de diff --git a/isSMBupdateAvailable.m b/isSMBupdateAvailable.m index da908e3..464be6b 100644 --- a/isSMBupdateAvailable.m +++ b/isSMBupdateAvailable.m @@ -4,6 +4,8 @@ % ============================================================================== + updateAvailable = false; + localPath = fileparts(mfilename('fullpath')); fprintf('Adding %s to MATLAB PATH\n', localPath); path(localPath, path); @@ -39,12 +41,14 @@ for i = 1:min(length(stableVersion), length(currentVersion)) if str2double(stableVersion(i)) > str2double(currentVersion(i)) updateAvailable = true; - fprintf('There is new version available in the GitHub: https://github.com/modsim/CADET-SMB/releases. \n'); + fprintf('Newer version is available in the GitHub: https://github.com/modsim/CADET-SMB/releases. \n'); break; end end - fprintf('The newest version is now installed, Version %s', stableVersionString); + if ~updateAvailable + fprintf('The newest version is now installed, Version %s', stableVersionString); + end end % =============================================================================