Merge pull request #23 from Flow-Launcher/fix_folder_delete

Folder plugin- Recursive delete sub folders and files
This commit is contained in:
Jeremy Wu 2020-04-30 07:32:23 +10:00 committed by GitHub
commit f53740a567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ namespace Flow.Launcher.Plugin.Folder
if (record.Type == ResultType.File)
File.Delete(record.FullPath);
else
Directory.Delete(record.FullPath);
Directory.Delete(record.FullPath, true);
}
catch(Exception e)
{