Skip to content

Commit c5325eb

Browse files
committed
Build: v3.9.6
1 parent e2b0511 commit c5325eb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Files.App (Package)/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Identity
1717
Name="FilesDev"
1818
Publisher="CN=Files"
19-
Version="3.9.5.0" />
19+
Version="3.9.6.0" />
2020

2121
<Properties>
2222
<DisplayName>Files - Dev</DisplayName>

src/Files.App/Helpers/Application/AppLifecycleHelper.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ static AppLifecycleHelper()
5454
}
5555
else
5656
{
57-
IsAppUpdated = version.ToString() != Package.Current.Id.Version.ToString();
57+
var a = version.ToString();
58+
IsAppUpdated = version.ToString() != AppVersion.ToString();
5859
}
5960
TotalLaunchCount = launchCount is long l ? l + 1 : 1;
60-
infoKey.SetValue("LastLaunchVersion", Package.Current.Id.Version.ToString()!);
61+
infoKey.SetValue("LastLaunchVersion", AppVersion.ToString());
6162
infoKey.SetValue("TotalLaunchCount", TotalLaunchCount);
6263
}
6364

@@ -135,6 +136,7 @@ public static async Task CheckAppUpdate()
135136
var updateService = Ioc.Default.GetRequiredService<IUpdateService>();
136137

137138
await updateService.CheckForReleaseNotesAsync();
139+
138140
// Check for release notes before checking for new updates
139141
if (AppEnvironment != AppEnvironment.Dev && IsAppUpdated && updateService.AreReleaseNotesAvailable)
140142
await Ioc.Default.GetRequiredService<ICommandManager>().OpenReleaseNotes.ExecuteAsync();

0 commit comments

Comments
 (0)