From 3e3eb365f8cda6ce43b42960e17ce3b60329e985 Mon Sep 17 00:00:00 2001 From: Emma Alyx Wunder Date: Thu, 13 Jun 2024 02:40:50 +0200 Subject: [PATCH] Added log message to GTK version too --- src/Ryujinx.Gtk3/Program.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Ryujinx.Gtk3/Program.cs b/src/Ryujinx.Gtk3/Program.cs index 749cb6978..93238451b 100644 --- a/src/Ryujinx.Gtk3/Program.cs +++ b/src/Ryujinx.Gtk3/Program.cs @@ -338,6 +338,16 @@ namespace Ryujinx 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();