Merge pull request 'master' (#11) from CWX/SPT-AKI-Installer:master into master

Reviewed-on: waffle.lord/SPT-AKI-Installer#11
This commit is contained in:
IsWaffle 2023-09-06 00:20:55 +00:00
commit a673d5bec0
3 changed files with 12 additions and 4 deletions

View File

@ -1,8 +1,11 @@
using Avalonia;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using Serilog;
using SPTInstaller.ViewModels;
using SPTInstaller.Views;
using System.Reactive;
namespace SPTInstaller;
@ -11,6 +14,12 @@ public partial class App : Application
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
RxApp.DefaultExceptionHandler = Observer.Create<Exception>((exception) =>
{
Log.Error(exception, "An application exception occurred");
});
}
public override void OnFrameworkInitializationCompleted()

View File

@ -4,7 +4,6 @@ using ReactiveUI;
using Serilog;
using Splat;
using SPTInstaller.Controllers;
using SPTInstaller.CustomControls;
using SPTInstaller.Helpers;
using SPTInstaller.Installer_Tasks;
using SPTInstaller.Installer_Tasks.PreChecks;

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.11</AssemblyVersion>
<FileVersion>2.11</FileVersion>
<AssemblyVersion>2.12</AssemblyVersion>
<FileVersion>2.12</FileVersion>
</PropertyGroup>
<ItemGroup>