mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fixup 30dfad29f6100153247db4edb6753d8db5112888
This commit is contained in:
parent
afdbf0adbf
commit
0656ddd50a
1 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,11 @@ namespace Wox.Infrastructure.Storage
|
||||||
|
|
||||||
private void LoadDefault()
|
private void LoadDefault()
|
||||||
{
|
{
|
||||||
BackupOriginFile();
|
if (File.Exists(FilePath))
|
||||||
|
{
|
||||||
|
BackupOriginFile();
|
||||||
|
}
|
||||||
|
|
||||||
_data = JsonConvert.DeserializeObject<T>("{}", _serializerSettings);
|
_data = JsonConvert.DeserializeObject<T>("{}", _serializerSettings);
|
||||||
Save();
|
Save();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue