mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-03-15 06:54:47 +00:00
Remove 'About Avalonia' and Replace it with 'About Ryujinx' in MacOS's menu bar (#752)
Some checks failed
Canary release job / Release for linux-arm64 (push) Failing after 1m3s
Canary release job / Release for linux-x64 (push) Failing after 1m3s
Canary release job / Create tag (push) Has been cancelled
Canary release job / Release for win-x64 (push) Has been cancelled
Canary release job / Release MacOS universal (push) Has been cancelled
Some checks failed
Canary release job / Release for linux-arm64 (push) Failing after 1m3s
Canary release job / Release for linux-x64 (push) Failing after 1m3s
Canary release job / Create tag (push) Has been cancelled
Canary release job / Release for win-x64 (push) Has been cancelled
Canary release job / Release MacOS universal (push) Has been cancelled
Video demonstration for non-Mac users: https://www.youtube.com/watch?v=7Wn_k5AjBuU
This commit is contained in:
parent
57c22a1f32
commit
c12a59ecd6
2 changed files with 10 additions and 0 deletions
|
@ -17,4 +17,9 @@
|
||||||
<sty:FluentAvaloniaTheme PreferUserAccentColor="True" PreferSystemTheme="False" />
|
<sty:FluentAvaloniaTheme PreferUserAccentColor="True" PreferSystemTheme="False" />
|
||||||
<StyleInclude Source="/Assets/Styles/Styles.xaml" />
|
<StyleInclude Source="/Assets/Styles/Styles.xaml" />
|
||||||
</Application.Styles>
|
</Application.Styles>
|
||||||
|
<NativeMenu.Menu>
|
||||||
|
<NativeMenu>
|
||||||
|
<NativeMenuItem Header="About Ryujinx" Click="AboutRyujinx_OnClick" />
|
||||||
|
</NativeMenu>
|
||||||
|
</NativeMenu.Menu>
|
||||||
</Application>
|
</Application>
|
||||||
|
|
|
@ -147,5 +147,10 @@ namespace Ryujinx.Ava
|
||||||
Current is RyujinxApp { PlatformSettings: not null } app
|
Current is RyujinxApp { PlatformSettings: not null } app
|
||||||
? ConvertThemeVariant(app.PlatformSettings.GetColorValues().ThemeVariant)
|
? ConvertThemeVariant(app.PlatformSettings.GetColorValues().ThemeVariant)
|
||||||
: ThemeVariant.Default;
|
: ThemeVariant.Default;
|
||||||
|
|
||||||
|
private async void AboutRyujinx_OnClick(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
await AboutWindow.Show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue