mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Merge pull request #6363 from makuhlmann/patch-1
Ensure proper saving of settings on file shares
This commit is contained in:
commit
b5f4f3e256
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ private bool SaveInternal(string filePath)
|
|||
FileHelpers.CreateDirectory(BackupFolder);
|
||||
}
|
||||
|
||||
File.Replace(tempFilePath, filePath, backupFilePath);
|
||||
File.Replace(tempFilePath, filePath, backupFilePath, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue