mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-25 10:46:51 +01:00
Added file check before delete
This commit is contained in:
parent
2d8d532451
commit
2416a8e06a
@ -267,7 +267,7 @@ Properties.Resources.DS4Update, MessageBoxButton.YesNo, MessageBoxImage.Question
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
File.Delete(destPath);
|
if (updaterExists) File.Delete(destPath);
|
||||||
File.Move(filename, destPath);
|
File.Move(filename, destPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user