This commit is contained in:
David Štaleker
2024-08-02 11:09:49 +02:00
parent ca229fbd89
commit 1459205ef3
4 changed files with 17 additions and 7 deletions

View File

@@ -8,6 +8,8 @@ using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
//[assembly: AssemblyVersion("2024.08.02.0")]
//Publish location:InfosysPublisher
namespace InfosysPublisher
{
/// <summary>
@@ -19,6 +21,7 @@ namespace InfosysPublisher
internal static Settings.Application? _application;
internal static User User;
internal static Version CurrentVersion;
protected override void OnStartup(StartupEventArgs e)
{
@@ -26,6 +29,8 @@ namespace InfosysPublisher
//base.OnStartup(e);
_application = WinSettings.GetSettings();
CurrentVersion = typeof(App).Assembly.GetName().Version;
if (_application == null)
{
OpenSettings();