From 0260510fed83bb4987465037cb9cee1796561eb1 Mon Sep 17 00:00:00 2001 From: ONLOX <3316820553@qq.com> Date: Sat, 23 Mar 2024 22:12:48 +0800 Subject: [PATCH 1/2] feat: launcher UI --- installer/Model/Logger.cs | 2 +- installer/Page/LaunchPage.xaml | 104 +++++++++++++++++++- installer/ViewModel/InstallViewModel.cs | 3 - installer/ViewModel/LaunchViewModel.cs | 125 +++++++++++++++++++++++- 4 files changed, 224 insertions(+), 10 deletions(-) diff --git a/installer/Model/Logger.cs b/installer/Model/Logger.cs index 2c87f2e0..23f1bd0e 100644 --- a/installer/Model/Logger.cs +++ b/installer/Model/Logger.cs @@ -283,7 +283,7 @@ public override void Dispose() public class ExceptionStack { public Logger logger; - public ConcurrentStack Exceptions; + protected ConcurrentStack Exceptions; protected object? Source; public event EventHandler? OnFailed; public event EventHandler? OnFailProcessed; diff --git a/installer/Page/LaunchPage.xaml b/installer/Page/LaunchPage.xaml index 21dcf000..8318831a 100644 --- a/installer/Page/LaunchPage.xaml +++ b/installer/Page/LaunchPage.xaml @@ -5,12 +5,106 @@ x:Class="installer.Page.LaunchPage" Title="Launcher"> - + + + + + + + + + + + + + + + + +