Skip to content

Commit f0dbf46

Browse files
Update version
1 parent 28eeac5 commit f0dbf46

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

installer/Installer.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[Setup]
1212
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
1313
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
14-
AppId=68d780d4-b946-4154-8815-e4632e5ec5d8
14+
AppId=4B2411E5-1AE9-450C-AF2F-9A515ECBB9DF
1515
AppName={#MyAppName}
1616
AppVersion={#MyAppVersion}
1717
;AppVerName={#MyAppName} {#MyAppVersion}

installer/InvLock-Installer.exe

19.1 KB
Binary file not shown.

src/InvLock/DataContexts/MainWindowDataContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal partial class MainWindowDataContext(Func<LockWindow?> lockWindowAccesso
2222

2323
public string AppName => App.AppName;
2424

25-
public string AppVersion => Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "Unknown";
25+
public string AppVersion => Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? "Unknown";
2626

2727
public Settings Settings { get; } = Settings.Load();
2828

src/InvLock/InvLock.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<UseWPF>true</UseWPF>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<ApplicationIcon>Assets\logo.ico</ApplicationIcon>
11+
<Version>1.1.0.0</Version>
12+
<AssemblyVersion>1.1.0.0</AssemblyVersion>
13+
<FileVersion>1.1.0.0</FileVersion>
14+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1115
</PropertyGroup>
1216

1317
<ItemGroup>

0 commit comments

Comments
 (0)