File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
src/Files.App/Helpers/Application Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ await Task.WhenAll(
125125 FileTagsHelper . UpdateTagsDb ( ) ;
126126
127127 // Release notes tab doesn't open unless this is awaited
128+ // Auto update doesn't work unless this is awaited
128129 await CheckAppUpdate ( ) ;
129130
130131 static Task OptionalTaskAsync ( Task task , bool condition )
@@ -157,14 +158,9 @@ public static async Task CheckAppUpdate()
157158 ViewedReleaseNotes = true ;
158159 }
159160
160- _ = Task . Run ( async ( ) =>
161- {
162- await Task . WhenAll (
163- updateService . CheckForUpdatesAsync ( ) ,
164- updateService . DownloadMandatoryUpdatesAsync ( ) ,
165- updateService . CheckAndUpdateFilesLauncherAsync ( )
166- ) ;
167- } ) ;
161+ await updateService . CheckForUpdatesAsync ( ) ;
162+ await updateService . DownloadMandatoryUpdatesAsync ( ) ;
163+ await updateService . CheckAndUpdateFilesLauncherAsync ( ) ;
168164 }
169165
170166 /// <summary>
You can’t perform that action at this time.
0 commit comments