diff --git a/installer/Installer.iss b/installer/Installer.iss index aede1d0..84c6c6a 100644 --- a/installer/Installer.iss +++ b/installer/Installer.iss @@ -11,7 +11,7 @@ [Setup] ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) -AppId=68d780d4-b946-4154-8815-e4632e5ec5d8 +AppId=4B2411E5-1AE9-450C-AF2F-9A515ECBB9DF AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} diff --git a/installer/InvLock-Installer.exe b/installer/InvLock-Installer.exe index 5069323..839b0cb 100644 Binary files a/installer/InvLock-Installer.exe and b/installer/InvLock-Installer.exe differ diff --git a/src/InvLock/DataContexts/MainWindowDataContext.cs b/src/InvLock/DataContexts/MainWindowDataContext.cs index a8aecb4..9910baa 100644 --- a/src/InvLock/DataContexts/MainWindowDataContext.cs +++ b/src/InvLock/DataContexts/MainWindowDataContext.cs @@ -22,7 +22,7 @@ internal partial class MainWindowDataContext(Func lockWindowAccesso public string AppName => App.AppName; - public string AppVersion => Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "Unknown"; + public string AppVersion => Assembly.GetEntryAssembly()?.GetCustomAttribute()?.InformationalVersion ?? "Unknown"; public Settings Settings { get; } = Settings.Load(); diff --git a/src/InvLock/InvLock.csproj b/src/InvLock/InvLock.csproj index 63ded88..9f68947 100644 --- a/src/InvLock/InvLock.csproj +++ b/src/InvLock/InvLock.csproj @@ -8,6 +8,10 @@ true true Assets\logo.ico + 1.1.0.0 + 1.1.0.0 + 1.1.0.0 + false diff --git a/src/MsixPackaging/Package.appxmanifest b/src/MsixPackaging/Package.appxmanifest index ee6e000..948c399 100644 --- a/src/MsixPackaging/Package.appxmanifest +++ b/src/MsixPackaging/Package.appxmanifest @@ -9,7 +9,7 @@ + Version="1.1.0.0" /> InvLock