diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index f8958338c9..c504f78784 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -474,6 +474,12 @@ namespace Ryujinx.UI fc.Destroy(); } + private void Update_Pressed(object o, EventArgs args) + { + string ryuUpdater = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "RyuFS", "RyuUpdater.exe"); + Process.Start(new ProcessStartInfo(ryuUpdater, "/U") { UseShellExecute = true }); + } + private void About_Pressed(object o, EventArgs args) { AboutWindow AboutWin = new AboutWindow(); diff --git a/Ryujinx/Ui/MainWindow.glade b/Ryujinx/Ui/MainWindow.glade index 0a8f35bc06..2cdf887cbd 100644 --- a/Ryujinx/Ui/MainWindow.glade +++ b/Ryujinx/Ui/MainWindow.glade @@ -272,6 +272,21 @@ True False + + + True + False + Check for Updates + True + + + + + + True + False + + True