mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-11 16:36:58 +00:00
Remove Intel Mac warning on startup as you will need to self-compile it in order to run it on that platform.
This commit is contained in:
parent
65a7b1551b
commit
3ee976708d
1 changed files with 0 additions and 15 deletions
|
|
@ -138,7 +138,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
|
|
||||||
Executor.ExecuteBackgroundAsync(async () =>
|
Executor.ExecuteBackgroundAsync(async () =>
|
||||||
{
|
{
|
||||||
await ShowIntelMacWarningAsync();
|
|
||||||
if (CommandLineState.FirmwareToInstallPathArg.TryGet(out FilePath fwPath))
|
if (CommandLineState.FirmwareToInstallPathArg.TryGet(out FilePath fwPath))
|
||||||
{
|
{
|
||||||
if (fwPath is { ExistsAsFile: true, Extension: "xci" or "zip" } || fwPath.ExistsAsDirectory)
|
if (fwPath is { ExistsAsFile: true, Extension: "xci" or "zip" } || fwPath.ExistsAsDirectory)
|
||||||
|
|
@ -757,20 +756,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool _intelMacWarningShown = !RunningPlatform.IsIntelMac;
|
|
||||||
|
|
||||||
public static async Task ShowIntelMacWarningAsync()
|
|
||||||
{
|
|
||||||
if (_intelMacWarningShown)
|
|
||||||
return;
|
|
||||||
|
|
||||||
await Dispatcher.UIThread.InvokeAsync(async () => await ContentDialogHelper.CreateWarningDialog(
|
|
||||||
"Intel Mac Warning",
|
|
||||||
"Intel Macs are not supported and will not work properly.\nIf you continue, do not come to our Discord asking for support;\nand do not report bugs on the GitHub. They will be closed."));
|
|
||||||
|
|
||||||
_intelMacWarningShown = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void AppWindow_OnGotFocus(object sender, GotFocusEventArgs e)
|
private void AppWindow_OnGotFocus(object sender, GotFocusEventArgs e)
|
||||||
{
|
{
|
||||||
if (ViewModel.AppHost is null)
|
if (ViewModel.AppHost is null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue