- ShellDemo: Updated all pages with recovered code, added AppShell.cs - TodoApp: Updated core files, added converters - XamlBrowser: Added recovered sample
23 lines
582 B
C#
23 lines
582 B
C#
using Microsoft.Maui.Controls.Hosting;
|
|
using Microsoft.Maui.Hosting;
|
|
using Microsoft.Maui.Platform.Linux;
|
|
using Microsoft.Maui.Platform.Linux.Hosting;
|
|
|
|
namespace XamlBrowser;
|
|
|
|
public static class MauiProgram
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
MauiAppBuilder obj = MauiApp.CreateBuilder(true);
|
|
AppHostBuilderExtensions.UseMauiApp<BrowserApp>(obj).UseLinux();
|
|
LinuxApplication.Run(obj.Build(), args, delegate(LinuxApplicationOptions options)
|
|
{
|
|
options.Title = "XAML Browser";
|
|
options.Width = 1200;
|
|
options.Height = 800;
|
|
options.UseGtk = true;
|
|
});
|
|
}
|
|
}
|