File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Files.App/Services/App Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,13 +150,13 @@ public async Task CheckAndUpdateFilesLauncherAsync()
150150 var destFolderPath = Path . Combine ( UserDataPaths . GetDefault ( ) . LocalAppData , "Files" ) ;
151151 var destExeFilePath = Path . Combine ( destFolderPath , "Files.App.Launcher.exe" ) ;
152152
153- if ( Path . Exists ( destExeFilePath ) )
153+ if ( File . Exists ( destExeFilePath ) )
154154 {
155155 var hashEqual = false ;
156156 var srcHashFile = await StorageFile . GetFileFromApplicationUriAsync ( new Uri ( "ms-appx:///Assets/FilesOpenDialog/Files.App.Launcher.exe.sha256" ) ) ;
157157 var destHashFilePath = Path . Combine ( destFolderPath , "Files.App.Launcher.exe.sha256" ) ;
158158
159- if ( Path . Exists ( destHashFilePath ) )
159+ if ( File . Exists ( destHashFilePath ) )
160160 {
161161 using var srcStream = ( await srcHashFile . OpenReadAsync ( ) ) . AsStream ( ) ;
162162 using var destStream = File . OpenRead ( destHashFilePath ) ;
You can’t perform that action at this time.
0 commit comments