修复命令行无法关闭混流的问题

This commit is contained in:
nilaoda 2022-08-21 19:09:32 +08:00
parent b13027a758
commit ad2c37486c
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ namespace N_m3u8DL_RE.DownloadManager
var success = Results.Values.All(v => v == true); var success = Results.Values.All(v => v == true);
//混流 //混流
if (success && OutputFiles.Count > 0) if (success && DownloaderConfig.MuxAfterDone && OutputFiles.Count > 0)
{ {
var saveDir = DownloaderConfig.SaveDir ?? Environment.CurrentDirectory; var saveDir = DownloaderConfig.SaveDir ?? Environment.CurrentDirectory;
var outName = $"{DownloaderConfig.SaveName ?? NowDateTime.ToString("yyyy-MM-dd_HH-mm-ss")}"; var outName = $"{DownloaderConfig.SaveName ?? NowDateTime.ToString("yyyy-MM-dd_HH-mm-ss")}";