mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 02:00:47 +01:00
feat: add MacOS platform options
This commit is contained in:
@@ -36,11 +36,15 @@ class Program
|
||||
return AppBuilder.Configure(() => new App(services))
|
||||
.UsePlatformDetect()
|
||||
.WithInterFont()
|
||||
.LogToTrace()
|
||||
.With(new Win32PlatformOptions
|
||||
{
|
||||
CompositionMode = [Win32CompositionMode.WinUIComposition, Win32CompositionMode.DirectComposition]
|
||||
});
|
||||
})
|
||||
.With(new MacOSPlatformOptions
|
||||
{
|
||||
ShowInDock = true,
|
||||
})
|
||||
.LogToTrace();
|
||||
}
|
||||
|
||||
private static async Task InitializeDataSourceAsync(IServiceProvider services)
|
||||
|
||||
Reference in New Issue
Block a user