diff --git a/installer/DesktopMagic-Installer.exe b/installer/DesktopMagic-Installer.exe index eb12afc..279bb1a 100644 Binary files a/installer/DesktopMagic-Installer.exe and b/installer/DesktopMagic-Installer.exe differ diff --git a/src/DesktopMagic/DesktopMagic.csproj b/src/DesktopMagic/DesktopMagic.csproj index 494b51e..ed6c720 100644 --- a/src/DesktopMagic/DesktopMagic.csproj +++ b/src/DesktopMagic/DesktopMagic.csproj @@ -1,60 +1,61 @@  - - WinExe - true - DesktopMagic - icon.ico - OnBuildSuccess - Stone_Red - 1.0.1.0 - https://github.com/Stone-Red-Code/DesktopMagic - https://github.com/Stone-Red-Code/DesktopMagic - 1.0.1.0 - 1.0.1.0 - net8.0-windows7.0 - enable - + + WinExe + true + DesktopMagic + icon.ico + OnBuildSuccess + Stone_Red + 1.0.1.240501 + https://github.com/Stone-Red-Code/DesktopMagic + https://github.com/Stone-Red-Code/DesktopMagic + 1.0.1.0501 + 1.0.1.0501 + net8.0-windows7.0 + enable + false + - - DEBUG;TRACE - + + DEBUG;TRACE + - - - - - - - + + + + + + + - - - Never - - + + + Never + + - - - - - - - - - + + + + + + + + + - - - + + + - - - Always - - - Always - - - + + + Always + + + Always + + + \ No newline at end of file diff --git a/src/DesktopMagic/MainWindow.xaml.cs b/src/DesktopMagic/MainWindow.xaml.cs index 2f743e1..85df4d1 100644 --- a/src/DesktopMagic/MainWindow.xaml.cs +++ b/src/DesktopMagic/MainWindow.xaml.cs @@ -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)