Add version in all window titles (#935)
This add the AppVeyor build version (added in #927) in the console window title and in the GUI title (when you are on the games list or when an emulated game is closed).
This commit is contained in:
parent
9e4f668f6c
commit
949bb81a9e
2 changed files with 4 additions and 3 deletions
|
@ -22,10 +22,10 @@ namespace Ryujinx
|
|||
EnableHighResolution = true
|
||||
});
|
||||
|
||||
Console.Title = "Ryujinx Console";
|
||||
|
||||
Version = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
||||
|
||||
Console.Title = $"Ryujinx Console {Version}";
|
||||
|
||||
string systemPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.Machine);
|
||||
Environment.SetEnvironmentVariable("Path", $"{Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin")};{systemPath}");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue