diff --git a/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs b/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs index 892f5f227..45456ddeb 100644 --- a/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs +++ b/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs @@ -78,7 +78,7 @@ namespace Flow.Launcher.Infrastructure.Storage { Log.Info($"|JsonStorage.Load|Failed to load settings.json, {BackupFilePath} restored successfully"); - if(File.Exists(FilePath) + if(File.Exists(FilePath)) File.Replace(BackupFilePath, FilePath, null); else File.Move(BackupFilePath, FilePath);