File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/Files.App/Helpers/Application Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,14 @@ public static async Task CheckAppUpdate()
134134 {
135135 var updateService = Ioc . Default . GetRequiredService < IUpdateService > ( ) ;
136136
137- await updateService . CheckForUpdatesAsync ( ) ;
138- await updateService . DownloadMandatoryUpdatesAsync ( ) ;
139- await updateService . CheckAndUpdateFilesLauncherAsync ( ) ;
140137 await updateService . CheckForReleaseNotesAsync ( ) ;
141-
138+ // Check for release notes before checking for new updates
142139 if ( AppEnvironment != AppEnvironment . Dev && IsAppUpdated && updateService . AreReleaseNotesAvailable )
143140 await Ioc . Default . GetRequiredService < ICommandManager > ( ) . OpenReleaseNotes . ExecuteAsync ( ) ;
141+
142+ await updateService . CheckForUpdatesAsync ( ) ;
143+ await updateService . DownloadMandatoryUpdatesAsync ( ) ;
144+ await updateService . CheckAndUpdateFilesLauncherAsync ( ) ;
144145 }
145146
146147 /// <summary>
You can’t perform that action at this time.
0 commit comments