Skip to content

Commit 7da184c

Browse files
committed
fix: disable native system menubar on macOS (#106)
1 parent 65fbeae commit 7da184c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Native/MacOS.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ public void SetupApp(AppBuilder builder)
1919
{
2020
DefaultFamilyName = "PingFang SC",
2121
});
22+
23+
builder.With(new MacOSPlatformOptions()
24+
{
25+
DisableNativeMenus = true,
26+
DisableDefaultApplicationMenuItems = true,
27+
});
2228
}
2329

2430
public string FindGitExecutable()

0 commit comments

Comments
 (0)