mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2026-01-31 01:15:16 +01:00
Added file check before delete
This commit is contained in:
@@ -267,7 +267,7 @@ Properties.Resources.DS4Update, MessageBoxButton.YesNo, MessageBoxImage.Question
|
||||
}
|
||||
else
|
||||
{
|
||||
File.Delete(destPath);
|
||||
if (updaterExists) File.Delete(destPath);
|
||||
File.Move(filename, destPath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user