Skip to content

Commit

Permalink
Update BuildInfo.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Dec 8, 2024
1 parent ea42def commit e0480c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MelonLoader/Properties/BuildInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public static class BuildInfo
static BuildInfo()
{
var version = typeof(BuildInfo).Assembly.GetName().Version!;
VersionNumber = new(version.Major, version.Minor, version.Build, version.Revision == 0 ? "" : "ci." + version.Revision.ToString());
VersionNumber = new(version.Major, version.Minor, version.Build, ((version.Revision == 0)
? ""
: ("ci." + version.Revision.ToString())));
Version = VersionNumber.ToString();
}
}

0 comments on commit e0480c3

Please sign in to comment.