Added log message to GTK version too

This commit is contained in:
Emma Alyx Wunder 2024-06-13 02:40:50 +02:00
parent 1e6c1f1236
commit 3e3eb365f8

View file

@ -338,6 +338,16 @@ namespace Ryujinx
private static void PrintSystemInfo() private static void PrintSystemInfo()
{ {
string executablePath = Environment.ProcessPath;
if (executablePath != null)
{
Logger.Notice.Print(LogClass.Application, $"Ryujinx Path: {executablePath}");
}
else
{
Logger.Warning?.Print(LogClass.Application, "Can't determine executable path. It might have been renamed or deleted after launch.");
}
Logger.Notice.Print(LogClass.Application, $"Ryujinx Version: {Version}"); Logger.Notice.Print(LogClass.Application, $"Ryujinx Version: {Version}");
SystemInfo.Gather().Print(); SystemInfo.Gather().Print();