mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-02 07:56:26 +00:00
Log current and backend version
This commit is contained in:
parent
db9ec53a6e
commit
bfbff52cb1
@ -175,7 +175,7 @@ void CheckForUpdates(const std::string& CV) {
|
|||||||
|
|
||||||
if (FileHash != LatestHash && IsOutdated(Version(VersionStrToInts(GetVer() + GetPatch())), Version(VersionStrToInts(LatestVersion)))) {
|
if (FileHash != LatestHash && IsOutdated(Version(VersionStrToInts(GetVer() + GetPatch())), Version(VersionStrToInts(LatestVersion)))) {
|
||||||
if (!options.no_update) {
|
if (!options.no_update) {
|
||||||
info("Launcher update found!");
|
info("Launcher update " + LatestVersion + " found!");
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
error("Auto update is NOT implemented for the Linux version. Please update manually ASAP as updates contain security patches.");
|
error("Auto update is NOT implemented for the Linux version. Please update manually ASAP as updates contain security patches.");
|
||||||
#else
|
#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.");
|
warn("Launcher update was found, but not updating because --no-update or --dev was specified.");
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
info("Launcher version is up to date");
|
info("Launcher version is up to date. Latest version: " + LatestVersion);
|
||||||
TraceBack++;
|
TraceBack++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -231,6 +231,7 @@ void LinuxPatch() {
|
|||||||
|
|
||||||
void InitLauncher() {
|
void InitLauncher() {
|
||||||
SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str());
|
SetConsoleTitleA(("BeamMP Launcher v" + std::string(GetVer()) + GetPatch()).c_str());
|
||||||
|
debug("Launcher Version : " + GetVer() + GetPatch());
|
||||||
CheckName();
|
CheckName();
|
||||||
LinuxPatch();
|
LinuxPatch();
|
||||||
CheckLocalKey();
|
CheckLocalKey();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user