diff options
| author | b5f0d6c3 <[email protected]> | 2021-10-22 14:45:22 +0800 |
|---|---|---|
| committer | b5f0d6c3 <[email protected]> | 2021-10-22 14:45:22 +0800 |
| commit | cc993e05efef9fb1a797d686a18161fb906676d4 (patch) | |
| tree | 6592579d71980d58fdc466fefcb3b9a7699c1783 /mkvtool-gui/Program.cs | |
| parent | 7fde5d4d448f64c2250ab003e2ecb75a7d268733 (diff) | |
add mkvtool-gui
Diffstat (limited to 'mkvtool-gui/Program.cs')
| -rw-r--r-- | mkvtool-gui/Program.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mkvtool-gui/Program.cs b/mkvtool-gui/Program.cs new file mode 100644 index 0000000..7eb68e0 --- /dev/null +++ b/mkvtool-gui/Program.cs @@ -0,0 +1,23 @@ +using System; +using Avalonia; +using Avalonia.Controls; +using Avalonia.Controls.ApplicationLifetimes; + +namespace mkvtool +{ + class Program + { + // Initialization code. Don't use any Avalonia, third-party APIs or any + // SynchronizationContext-reliant code before AppMain is called: things aren't initialized + // yet and stuff might break. + [STAThread] + public static void Main(string[] args) => BuildAvaloniaApp() + .StartWithClassicDesktopLifetime(args); + + // Avalonia configuration, don't remove; also used by visual designer. + public static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure<App>() + .UsePlatformDetect() + .LogToTrace(); + } +}
\ No newline at end of file |
