mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-12-06 11:47:59 -05:00
17 lines
406 B
C#
17 lines
406 B
C#
using Avalonia;
|
|
using Avalonia.Headless;
|
|
|
|
[assembly: AvaloniaTestApplication(typeof(QuiverLauncher.Tests.HeadlessTestApp))]
|
|
|
|
namespace QuiverLauncher.Tests;
|
|
|
|
public static class HeadlessTestApp
|
|
{
|
|
public static AppBuilder BuildAvaloniaApp()
|
|
{
|
|
App.SuppressDesktopHost = true;
|
|
return AppBuilder.Configure<App>()
|
|
.UseHeadless(new AvaloniaHeadlessPlatformOptions());
|
|
}
|
|
}
|