Revert "[DATFromDir] One more try"

This reverts commit 8fda194f6f.
This commit is contained in:
Matt Nadareski
2016-09-22 11:56:14 -07:00
parent 8fda194f6f
commit 42896494f5

View File

@@ -248,7 +248,7 @@ namespace SabreTools
// Cue to delete the file if it's a copy
if (_copyFiles && item != newItem)
{
FileTools.DeleteFile(newItem);
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
}
foreach (Rom rom in extracted)
@@ -267,7 +267,7 @@ namespace SabreTools
// Cue to delete the file if it's a copy
if (_copyFiles && item != newItem)
{
FileTools.DeleteFile(newItem);
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
}
}
}
@@ -288,7 +288,7 @@ namespace SabreTools
// Cue to delete the file if it's a copy
if (_copyFiles && item != newItem)
{
FileTools.DeleteFile(newItem);
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
}
_logger.Log(Path.GetFileName(item) + " treated like an archive");
@@ -313,7 +313,7 @@ namespace SabreTools
// Cue to delete the file if it's a copy
if (_copyFiles && item != newItem)
{
FileTools.DeleteFile(newItem);
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
}
}
}