Skip to content

Commit

Permalink
Merge pull request #688 from krzychu124/ver-11.1.0
Browse files Browse the repository at this point in the history
Version 11.1.0
  • Loading branch information
originalfoo committed Feb 11, 2020
2 parents 14567c3 + dda973c commit 99d7d71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 1 addition & 9 deletions TLM/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@
[assembly: ComVisible(false)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
// [assembly: AssemblyVersion("1.0.0.0")]
// [assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("11.0.0.*")]
[assembly: AssemblyVersion("11.1.0.*")]
8 changes: 5 additions & 3 deletions TLM/TLM/TrafficManagerMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ public class TrafficManagerMod : IUserMod {
public const uint GAME_VERSION_C = 3u;
public const uint GAME_VERSION_BUILD = 2u;

public static string VersionString => ModVersion.ToString(2);

// Use SharedAssemblyInfo.cs to modify this version.
// Use SharedAssemblyInfo.cs to modify TM:PE version
// External mods (eg. CSUR Toolbox) reference the versioning for compatibility purposes
public static Version ModVersion => typeof(TrafficManagerMod).Assembly.GetName().Version;

// used for in-game display
public static string VersionString => ModVersion.ToString(3);

public static readonly string ModName = "TM:PE " + VersionString + " " + BRANCH;

public string Name => ModName;
Expand Down

0 comments on commit 99d7d71

Please sign in to comment.