mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-22 00:03:48 +00:00
Create the "Docsets" directory if it not exists
This commit is contained in:
parent
c6be74ac5b
commit
99b0defcf7
@ -71,6 +71,9 @@ namespace WinAlfred.Plugin.Doc
|
||||
};
|
||||
|
||||
docsetBasePath = context.PluginMetadata.PluginDirecotry + @"Docset";
|
||||
if (!Directory.Exists(docsetBasePath))
|
||||
Directory.CreateDirectory(docsetBasePath);
|
||||
|
||||
foreach (string path in Directory.GetDirectories(docsetBasePath))
|
||||
{
|
||||
string name = path.Substring(path.LastIndexOf('\\') + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user