Skip to content

Commit

Permalink
Patch something called unitsync to hopefully report versions properly
Browse files Browse the repository at this point in the history
  • Loading branch information
lhog committed Jan 1, 2025
1 parent 6bc1f0a commit 8019af9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/unitsync/unitsync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,22 +306,19 @@ class ScopedMapLoader {

EXPORT(const char*) GetSpringVersion()
{
if (SpringVersion::IsRelease()) {
return GetStr(SpringVersion::GetSync() + "." + SpringVersion::GetPatchSet());
}
return GetStr(SpringVersion::GetSync());
}


EXPORT(const char*) GetSpringVersionPatchset()
{
return "";
return GetStr(SpringVersion::GetPatchSet());
}


EXPORT(bool) IsSpringReleaseVersion()
{
return false;
return SpringVersion::IsRelease();
}

class UnitsyncConfigObserver
Expand Down

0 comments on commit 8019af9

Please sign in to comment.