mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-03 20:05:47 +00:00
use a custom key install function with notifications instead of the normal one with dialogs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Avalonia.Controls.Presenters;
|
||||
using Gommon;
|
||||
using Ryujinx.Ava.Common.Locale;
|
||||
using Ryujinx.Ava.Systems.Configuration;
|
||||
using Ryujinx.Ava.Systems.SetupWizard;
|
||||
@@ -11,7 +12,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Ryujinx.Ava.UI.SetupWizard
|
||||
{
|
||||
public class RyujinxSetupWizard(ContentPresenter presenter, MainWindowViewModel mwvm, Action onClose) : BaseSetupWizard(presenter)
|
||||
public partial class RyujinxSetupWizard(ContentPresenter presenter, MainWindowViewModel mwvm, Action onClose) : BaseSetupWizard(presenter)
|
||||
{
|
||||
private bool _configWasModified = false;
|
||||
|
||||
@@ -39,7 +40,11 @@ namespace Ryujinx.Ava.UI.SetupWizard
|
||||
if (!Directory.Exists(kpvm.KeysFolderPath))
|
||||
goto Retry;
|
||||
|
||||
await mwvm.HandleKeysInstallation(kpvm.KeysFolderPath);
|
||||
Result installResult = InstallKeys(kpvm.KeysFolderPath);
|
||||
if (!installResult.IsSuccess)
|
||||
{
|
||||
goto Retry;
|
||||
}
|
||||
}
|
||||
|
||||
Firmware:
|
||||
|
||||
Reference in New Issue
Block a user