Skip to content

Commit

Permalink
Include git hash in logged version output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwindalmir committed Oct 12, 2021
1 parent 584a09e commit fa365ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WorkshopToolCommon/GameBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public virtual int InitGame(string[] args)
return Cleanup(3);
}

MySandboxGame.Log.WriteLineAndConsole($"{AppName} {Assembly.GetExecutingAssembly().GetName().Version}");
MySandboxGame.Log.WriteLineAndConsole($"{AppName} {Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion}");

ProgramBase.CheckForUpdate(MySandboxGame.Log.WriteLineAndConsole);

Expand Down

0 comments on commit fa365ce

Please sign in to comment.