remove storage dependency from jsonstorage

This commit is contained in:
bao-qian
2017-02-07 00:21:39 +00:00
parent b6a7e049e6
commit f7c9a12510
11 changed files with 67 additions and 71 deletions

View File

@@ -55,5 +55,13 @@ namespace Wox.Infrastructure
}
}
}
public static void ValidateDirectory(string path)
{
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
}
}
}