mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Rename
This commit is contained in:
@@ -15,8 +15,8 @@ namespace Wox.Infrastructure.Storage
|
||||
internal JsonStrorage()
|
||||
{
|
||||
FileSuffix = ".json";
|
||||
DirectoryName = Wox.Settings;
|
||||
DirectoryPath = Wox.SettingsPath;
|
||||
DirectoryName = Constant.Settings;
|
||||
DirectoryPath = Constant.SettingsPath;
|
||||
FilePath = Path.Combine(DirectoryPath, FileName + FileSuffix);
|
||||
|
||||
ValidateDirectory();
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Wox.Infrastructure.Storage
|
||||
{
|
||||
public PluginJsonStorage()
|
||||
{
|
||||
DirectoryName = Wox.Plugins;
|
||||
DirectoryName = Constant.Plugins;
|
||||
|
||||
// C# releated, add python releated below
|
||||
var assemblyName = DataType.Assembly.GetName().Name;
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Wox.Infrastructure.Storage
|
||||
{
|
||||
DataType = typeof (T);
|
||||
FileName = DataType.Name;
|
||||
DirectoryPath = Wox.DataPath;
|
||||
DirectoryPath = Constant.DataDirectory;
|
||||
}
|
||||
|
||||
protected void ValidateDirectory()
|
||||
|
||||
Reference in New Issue
Block a user