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()
150
150
var destFolderPath = Path . Combine ( UserDataPaths . GetDefault ( ) . LocalAppData , "Files" ) ;
151
151
var destExeFilePath = Path . Combine ( destFolderPath , "Files.App.Launcher.exe" ) ;
152
152
153
- if ( Path . Exists ( destExeFilePath ) )
153
+ if ( File . Exists ( destExeFilePath ) )
154
154
{
155
155
var hashEqual = false ;
156
156
var srcHashFile = await StorageFile . GetFileFromApplicationUriAsync ( new Uri ( "ms-appx:///Assets/FilesOpenDialog/Files.App.Launcher.exe.sha256" ) ) ;
157
157
var destHashFilePath = Path . Combine ( destFolderPath , "Files.App.Launcher.exe.sha256" ) ;
158
158
159
- if ( Path . Exists ( destHashFilePath ) )
159
+ if ( File . Exists ( destHashFilePath ) )
160
160
{
161
161
using var srcStream = ( await srcHashFile . OpenReadAsync ( ) ) . AsStream ( ) ;
162
162
using var destStream = File . OpenRead ( destHashFilePath ) ;
You can’t perform that action at this time.
0 commit comments