Added a log message containing the executable's path

This commit is contained in:
Emma Alyx Wunder 2024-06-13 01:20:17 +02:00
parent c0f2491eae
commit 8d313d9634

View file

@ -211,6 +211,16 @@ namespace Ryujinx.Ava
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}");
SystemInfo.Gather().Print();