mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Fix #181 that directory could be removed by user when wox running.
This commit is contained in:
@@ -52,7 +52,11 @@ namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
|
||||
}
|
||||
catch (UnauthorizedAccessException e)
|
||||
{
|
||||
Debug.WriteLine(string.Format("Can't access to directory {0}",path),"WoxDebug");
|
||||
Debug.WriteLine(string.Format("Can't access to directory {0}", path), "WoxDebug");
|
||||
}
|
||||
catch (DirectoryNotFoundException e)
|
||||
{
|
||||
//no-operation
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user