2024-06-08 00:12:42 -07:00
|
|
|
using Microsoft.UI.Dispatching;
|
|
|
|
|
using Velopack;
|
|
|
|
|
|
|
|
|
|
namespace UnoSample;
|
2024-06-24 00:50:00 -07:00
|
|
|
//public static class Program
|
|
|
|
|
//{
|
|
|
|
|
// // https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/migrate-to-windows-app-sdk/guides/applifecycle?WT.mc_id=DT-MVP-5003472#single-instancing-in-main-or-wwinmain
|
|
|
|
|
// [STAThread]
|
|
|
|
|
// public static void Main(string[] args)
|
|
|
|
|
// {
|
2024-06-08 00:12:42 -07:00
|
|
|
|
|
|
|
|
|
2024-06-24 00:50:00 -07:00
|
|
|
// WinRT.ComWrappersSupport.InitializeComWrappers();
|
|
|
|
|
|
|
|
|
|
// Application.Start((p) =>
|
|
|
|
|
// {
|
|
|
|
|
// var context = new DispatcherQueueSynchronizationContext(
|
|
|
|
|
// DispatcherQueue.GetForCurrentThread());
|
|
|
|
|
// SynchronizationContext.SetSynchronizationContext(context);
|
|
|
|
|
// new App();
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
//}
|