mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Refactoring directory path for storage
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Wox.Infrastructure.Storage
|
||||
|
||||
protected override void LoadInternal()
|
||||
{
|
||||
string json = File.ReadAllText(ConfigPath);
|
||||
string json = File.ReadAllText(FilePath);
|
||||
if (!string.IsNullOrEmpty(json))
|
||||
{
|
||||
try
|
||||
@@ -42,7 +42,7 @@ namespace Wox.Infrastructure.Storage
|
||||
lock (syncObject)
|
||||
{
|
||||
string json = JsonConvert.SerializeObject(serializedObject, Formatting.Indented);
|
||||
File.WriteAllText(ConfigPath, json);
|
||||
File.WriteAllText(FilePath, json);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user