File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Files.App/Helpers/Application Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
33<Package
44 xmlns =" http://schemas.microsoft.com/appx/manifest/foundation/windows10"
1616 <Identity
1717 Name =" FilesDev"
1818 Publisher =" CN=Files"
19- Version =" 3.9.4 .0" />
19+ Version =" 3.9.6 .0" />
2020
2121 <Properties >
2222 <DisplayName >Files - Dev</DisplayName >
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ static AppLifecycleHelper()
5454 }
5555 else
5656 {
57- IsAppUpdated = version . ToString ( ) != Package . Current . Id . Version . ToString ( ) ;
57+ IsAppUpdated = version . ToString ( ) != AppVersion . ToString ( ) ;
5858 }
5959 TotalLaunchCount = launchCount is long l ? l + 1 : 1 ;
60- infoKey . SetValue ( "LastLaunchVersion" , Package . Current . Id . Version . ToString ( ) ! ) ;
60+ infoKey . SetValue ( "LastLaunchVersion" , AppVersion . ToString ( ) ) ;
6161 infoKey . SetValue ( "TotalLaunchCount" , TotalLaunchCount ) ;
6262 }
6363
@@ -135,6 +135,7 @@ public static async Task CheckAppUpdate()
135135 var updateService = Ioc . Default . GetRequiredService < IUpdateService > ( ) ;
136136
137137 await updateService . CheckForReleaseNotesAsync ( ) ;
138+
138139 // Check for release notes before checking for new updates
139140 if ( AppEnvironment != AppEnvironment . Dev && IsAppUpdated && updateService . AreReleaseNotesAvailable )
140141 await Ioc . Default . GetRequiredService < ICommandManager > ( ) . OpenReleaseNotes . ExecuteAsync ( ) ;
You can’t perform that action at this time.
0 commit comments