mirror of
https://github.com/NohamR/N_m3u8DL-RE.git
synced 2025-05-25 06:41:57 +00:00
优化(?)
This commit is contained in:
parent
019f403339
commit
2aa029a35b
@ -573,7 +573,10 @@ namespace N_m3u8DL_RE.DownloadManager
|
|||||||
{
|
{
|
||||||
inputStream.CopyTo(fileOutputStream);
|
inputStream.CopyTo(fileOutputStream);
|
||||||
}
|
}
|
||||||
if (!DownloaderConfig.MyOptions.LiveKeepSegments && !Path.GetFileName(inputFilePath).StartsWith("_init"))
|
}
|
||||||
|
if (!DownloaderConfig.MyOptions.LiveKeepSegments)
|
||||||
|
{
|
||||||
|
foreach (var inputFilePath in files.Where(x => !Path.GetFileName(x).StartsWith("_init")))
|
||||||
{
|
{
|
||||||
File.Delete(inputFilePath);
|
File.Delete(inputFilePath);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user