diff --git a/.gitignore b/.gitignore index 1e6cd00..62faaac 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ [Oo]ut/ [Ll]og/ [Ll]ogs/ +[Pp]ublish/ # IDE files .vs/ diff --git a/dtlauncher.sln b/dtlauncher.sln index 8e917a0..00f35c3 100644 --- a/dtlauncher.sln +++ b/dtlauncher.sln @@ -13,6 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution README.md = README.md EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "launcher-client-avalonia", "launcher-client-avalonia\launcher-client-avalonia.csproj", "{BC1FC2A0-159A-4F17-B076-B39775FB6AAC}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -27,6 +29,10 @@ Global {A1F770F3-F6B1-4854-9BF0-093F85064B88}.Debug|Any CPU.Build.0 = Debug|Any CPU {A1F770F3-F6B1-4854-9BF0-093F85064B88}.Release|Any CPU.ActiveCfg = Release|Any CPU {A1F770F3-F6B1-4854-9BF0-093F85064B88}.Release|Any CPU.Build.0 = Release|Any CPU + {BC1FC2A0-159A-4F17-B076-B39775FB6AAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BC1FC2A0-159A-4F17-B076-B39775FB6AAC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BC1FC2A0-159A-4F17-B076-B39775FB6AAC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BC1FC2A0-159A-4F17-B076-B39775FB6AAC}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/launcher-client-avalonia/.run/launcher-client-avalonia-win64.run.xml b/launcher-client-avalonia/.run/launcher-client-avalonia-win64.run.xml new file mode 100644 index 0000000..ed656ef --- /dev/null +++ b/launcher-client-avalonia/.run/launcher-client-avalonia-win64.run.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/launcher-client-avalonia/GUI/App.axaml b/launcher-client-avalonia/GUI/App.axaml new file mode 100644 index 0000000..7aa35af --- /dev/null +++ b/launcher-client-avalonia/GUI/App.axaml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + diff --git a/launcher-client-avalonia/GUI/App.axaml.cs b/launcher-client-avalonia/GUI/App.axaml.cs new file mode 100644 index 0000000..0c89f07 --- /dev/null +++ b/launcher-client-avalonia/GUI/App.axaml.cs @@ -0,0 +1,24 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; + +namespace launcher_client_avalonia +{ + public partial class App : Application + { + public override void Initialize() + { + AvaloniaXamlLoader.Load(this); + } + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new MainWindow(); + } + + base.OnFrameworkInitializationCompleted(); + } + } +} \ No newline at end of file diff --git a/launcher-client-avalonia/GUI/LauncherWindow.xaml b/launcher-client-avalonia/GUI/LauncherWindow.xaml new file mode 100644 index 0000000..f75359c --- /dev/null +++ b/launcher-client-avalonia/GUI/LauncherWindow.xaml @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +