mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Changed to EnumeraterFiles
This commit is contained in:
parent
5140690e07
commit
33969041a9
1 changed files with 1 additions and 2 deletions
|
|
@ -275,8 +275,7 @@ namespace Flow.Launcher
|
|||
if (confirmResult == MessageBoxResult.Yes)
|
||||
{
|
||||
DirectoryInfo Di = new DirectoryInfo(Path.Combine(DataLocation.DataDirectory(), Constant.Logs, Constant.Version));
|
||||
FileInfo[] files = Di.GetFiles();
|
||||
foreach (FileInfo file in files)
|
||||
foreach (FileInfo file in Di.EnumerateFiles())
|
||||
{
|
||||
file.Delete();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue