From 8d313d9634bc9716001c8b2cb79c82cc4ef1337a Mon Sep 17 00:00:00 2001 From: Emma Alyx Wunder Date: Thu, 13 Jun 2024 01:20:17 +0200 Subject: [PATCH] Added a log message containing the executable's path --- src/Ryujinx/Program.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Ryujinx/Program.cs b/src/Ryujinx/Program.cs index 4f68ca24f..812e53d8c 100644 --- a/src/Ryujinx/Program.cs +++ b/src/Ryujinx/Program.cs @@ -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();