Change file version

This commit is contained in:
Stone_Red
2024-05-01 18:20:08 +02:00
parent aa1733e0c6
commit 475623f333
3 changed files with 55 additions and 53 deletions
+3 -2
View File
@@ -9,6 +9,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Packaging;
using System.Linq;
using System.Reflection;
using System.Text.Json;
@@ -63,9 +64,9 @@ namespace DesktopMagic
SetLanguageDictionary();
#if DEBUG
Title = $"{App.AppName} - Dev {Assembly.GetExecutingAssembly().GetName().Version}";
Title = $"{App.AppName} - Dev {System.Windows.Forms.Application.ProductVersion}";
#else
Title = $"{App.AppName} - {Assembly.GetExecutingAssembly().GetName().Version}";
Title = $"{App.AppName} - {System.Windows.Forms.Application.ProductVersion}";
#endif
}
catch (Exception ex)