From e11ca50a57f1890eab160694ae9ee64f2f7096c8 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 17 Apr 2020 09:31:59 -0400 Subject: update available log is now info instead of debug added AV warning when a game plugin is no longer available --- src/main.cpp | 5 ++++- src/selfupdater.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index b6b25dd7..2bb3f964 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -298,7 +298,10 @@ MOBase::IPluginGame *determineCurrentGame( if (gameConfigured) { MOBase::IPluginGame *game = plugins.managedGame(*gameName); if (game == nullptr) { - reportError(QObject::tr("Plugin to handle %1 no longer installed").arg(*gameName)); + reportError( + QObject::tr("Plugin to handle %1 no longer installed. An antivirus might have deleted files.") + .arg(*gameName)); + return nullptr; } diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 5a70568e..086ae05f 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -160,7 +160,7 @@ void SelfUpdater::testForUpdate(const Settings& settings) VersionInfo newestVer(newest["tag_name"].toString()); if (newestVer > this->m_MOVersion) { m_UpdateCandidate = newest; - log::debug("update available: {} -> {}", + log::info("update available: {} -> {}", this->m_MOVersion.displayString(3), newestVer.displayString(3)); emit updateAvailable(); -- cgit v1.3.1