mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-15 07:00:32 +00:00
Added a log message containing the executable's path
This commit is contained in:
parent
c0f2491eae
commit
8d313d9634
1 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue