Skip to content

Commit e212ec9

Browse files
authored
Merge pull request #121 from KCKT0112/macOS-AvaloniaMenu
On macOS, the menu display name is Avalonia Applications. Change it to TuneLab and hide the default About menu
2 parents 54134e9 + cf32959 commit e212ec9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

TuneLab/App.axaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Application xmlns="https://github.com/avaloniaui"
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
x:Class="TuneLab.App"
4-
RequestedThemeVariant="Dark">
4+
RequestedThemeVariant="Dark"
5+
Name="TuneLab">
56
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
67

78
<Application.Styles>
@@ -11,4 +12,10 @@
1112
<Application.Resources>
1213
<FontFamily x:Key="NotoMono">avares://TuneLab/Assets/Fonts#NotoMono</FontFamily>
1314
</Application.Resources>
15+
16+
<NativeMenu.Menu>
17+
<NativeMenu>
18+
<!-- <NativeMenuItem Header="About" /> -->
19+
</NativeMenu>
20+
</NativeMenu.Menu>
1421
</Application>

0 commit comments

Comments
 (0)