verzija
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user