add a setup wizard opener in the help dropdown in the menu bar, that also respects CanShowSetupWizard

This commit is contained in:
GreemDev
2025-11-22 23:23:30 -06:00
parent 8ab851ead8
commit c5b325bde2
6 changed files with 43 additions and 9 deletions

View File

@@ -144,10 +144,8 @@ namespace Ryujinx.Ava.UI.Windows
{
await ShowIntelMacWarningAsync();
if (Program.IsFirstStart && RyujinxSetupWizardWindow.CanShowSetupWizard)
{
if (Program.IsFirstStart)
await RyujinxSetupWizardWindow.ShowAsync(this);
}
});
if (CommandLineState.FirmwareToInstallPathArg.TryGet(out FilePath fwPath))
@@ -412,7 +410,7 @@ namespace Ryujinx.Ava.UI.Windows
}
}
}
else if (!RyujinxSetupWizardWindow.IsUsingSetupWizard)
else if (!RyujinxSetupWizardWindow.IsOpen)
{
ShowKeyErrorOnLoad = false;