public static void Main() { var app = new App(); app.InitializeComponent(); RuntimeUpdateHandler.Register(app, $"/{Ammy.GetAssemblyName(app)};component/App.g.xaml"); app.Run(); }
public static void Main() { var bootstrapper = new Bootstrapper(); var resourcePath = $"/{Ammy.GetAssemblyName(bootstrapper)};component/App.g.xaml"; bootstrapper.InitializeComponent(resourcePath); #if DEBUG RuntimeUpdateHandler.Register(bootstrapper, resourcePath); #endif bootstrapper.Run(); }
public static void Main(string[] args) { if (args.Length > 1) { var options = GetExportAllOptions(args); ExportAll(options).GetAwaiter().GetResult(); return; } var app = new App(); app.InitializeComponent(); RuntimeUpdateHandler.Register(app, $"/{Ammy.GetAssemblyName(app)};component/App.g.xaml"); app.Run(); }