mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Move over Copy
Move might be better since Replace delete the original file
This commit is contained in:
parent
7e350b64ba
commit
52fcc68448
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ namespace Flow.Launcher.Infrastructure.Storage
|
|||
if(File.Exists(FilePath)
|
||||
File.Replace(BackupFilePath, FilePath, null);
|
||||
else
|
||||
File.Copy(BackupFilePath, FilePath);
|
||||
File.Move(BackupFilePath, FilePath);
|
||||
|
||||
return data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue