mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DATFromDir] One more try
This commit is contained in:
@@ -248,7 +248,7 @@ namespace SabreTools
|
|||||||
// Cue to delete the file if it's a copy
|
// Cue to delete the file if it's a copy
|
||||||
if (_copyFiles && item != newItem)
|
if (_copyFiles && item != newItem)
|
||||||
{
|
{
|
||||||
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
|
FileTools.DeleteFile(newItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (Rom rom in extracted)
|
foreach (Rom rom in extracted)
|
||||||
@@ -267,7 +267,7 @@ namespace SabreTools
|
|||||||
// Cue to delete the file if it's a copy
|
// Cue to delete the file if it's a copy
|
||||||
if (_copyFiles && item != newItem)
|
if (_copyFiles && item != newItem)
|
||||||
{
|
{
|
||||||
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
|
FileTools.DeleteFile(newItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -288,7 +288,7 @@ namespace SabreTools
|
|||||||
// Cue to delete the file if it's a copy
|
// Cue to delete the file if it's a copy
|
||||||
if (_copyFiles && item != newItem)
|
if (_copyFiles && item != newItem)
|
||||||
{
|
{
|
||||||
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
|
FileTools.DeleteFile(newItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Log(Path.GetFileName(item) + " treated like an archive");
|
_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
|
// Cue to delete the file if it's a copy
|
||||||
if (_copyFiles && item != newItem)
|
if (_copyFiles && item != newItem)
|
||||||
{
|
{
|
||||||
FileTools.DeleteDirectory(Path.GetDirectoryName(newItem));
|
FileTools.DeleteFile(newItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user