From bfbff52cb1099fa86c7503938c7e7668b7a3f975 Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Sun, 12 Jan 2025 23:17:23 +0100 Subject: [PATCH] Log current and backend version --- src/Startup.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Startup.cpp b/src/Startup.cpp index 6ea387a..bdaefb2 100644 --- a/src/Startup.cpp +++ b/src/Startup.cpp @@ -175,7 +175,7 @@ void CheckForUpdates(const std::string& CV) { if (FileHash != LatestHash && IsOutdated(Version(VersionStrToInts(GetVer() + GetPatch())), Version(VersionStrToInts(LatestVersion)))) { if (!options.no_update) { - info("Launcher update found!"); + info("Launcher update " + LatestVersion + " found!"); #if defined(__linux__) error("Auto update is NOT implemented for the Linux version. Please update manually ASAP as updates contain security patches."); #else @@ -193,7 +193,7 @@ void CheckForUpdates(const std::string& CV) { warn("Launcher update was found, but not updating because --no-update or --dev was specified."); } } else - info("Launcher version is up to date"); + info("Launcher version is up to date. Latest version: " + LatestVersion); TraceBack++; } @@ -231,6 +231,7 @@ void LinuxPatch() { void InitLauncher() { SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str()); + debug("Launcher Version : " + GetVer() + GetPatch()); CheckName(); LinuxPatch(); CheckLocalKey();