Skip to content

Commit

Permalink
Log current and backend version
Browse files Browse the repository at this point in the history
  • Loading branch information
WiserTixx committed Jan 12, 2025
1 parent db9ec53 commit bfbff52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Startup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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++;
}

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit bfbff52

Please sign in to comment.