You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UGS: Fix version string displayed by the "UGS version" command.
#jira UE-154819 #preflight none [CL 20468288 by Ben Marsh in ue5-main branch]
This commit is contained in:
@@ -1159,7 +1159,11 @@ namespace UnrealGameSyncCmd
|
||||
{
|
||||
public override Task ExecuteAsync(CommandContext Context)
|
||||
{
|
||||
Console.WriteLine("UnrealGameSync {0}", Assembly.GetExecutingAssembly().GetName().Version?.ToString());
|
||||
ILogger Logger = Context.Logger;
|
||||
|
||||
AssemblyInformationalVersionAttribute? Version = Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>();
|
||||
Logger.LogInformation("UnrealGameSync {Version}", Version?.InformationalVersion ?? "Unknown");
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user