2024-12-01 16:16:14 +00:00
|
|
|
|
using Avalonia;
|
|
|
|
|
using Avalonia.ReactiveUI;
|
2024-12-04 23:32:04 +00:00
|
|
|
|
using Presence.Desktop.ViewModels;
|
2024-12-01 16:16:14 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Presence.Desktop
|
|
|
|
|
{
|
|
|
|
|
internal sealed class Program
|
|
|
|
|
{
|
|
|
|
|
[STAThread]
|
|
|
|
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
|
|
|
|
.StartWithClassicDesktopLifetime(args);
|
|
|
|
|
|
|
|
|
|
public static AppBuilder BuildAvaloniaApp()
|
|
|
|
|
=> AppBuilder.Configure<App>()
|
|
|
|
|
.UsePlatformDetect()
|
|
|
|
|
.WithInterFont()
|
|
|
|
|
.LogToTrace()
|
|
|
|
|
.UseReactiveUI();
|
|
|
|
|
}
|
|
|
|
|
}
|