diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index 94cbd80d50..9a10e3693f 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -30,6 +30,15 @@ namespace Ryujinx gtkApplication.AddWindow(mainWindow); mainWindow.Show(); + string ryuFsProd = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "RyuFS", "system", "prod.keys"); + string homeProd = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".switch", "prod.keys"); + + if (!File.Exists(ryuFsProd) && !File.Exists(homeProd)) + { + Logger.PrintWarning(LogClass.Application, "Key file was not found"); + MainWindow.CreateErrorDialog($"Key file was not found. Please refer to `KEYS.md` for more info"); + } + if (args.Length == 1) { mainWindow.LoadApplication(args[0]); diff --git a/Ryujinx/Ryujinx.csproj b/Ryujinx/Ryujinx.csproj index 819ba0314b..abdef425c6 100644 --- a/Ryujinx/Ryujinx.csproj +++ b/Ryujinx/Ryujinx.csproj @@ -37,7 +37,7 @@ - + diff --git a/Ryujinx/Ui/SwitchSettings.cs b/Ryujinx/Ui/SwitchSettings.cs index 7cd7595728..d2caba94a6 100644 --- a/Ryujinx/Ui/SwitchSettings.cs +++ b/Ryujinx/Ui/SwitchSettings.cs @@ -90,7 +90,7 @@ namespace Ryujinx.UI builder.Autoconnect(this); - _settingsWin.Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.assets.RyujinxIcon.png"); + _settingsWin.Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.assets.ryujinxIcon.png"); _controller1Image.Pixbuf = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.assets.JoyCon.png", 500, 500); //Bind Events