Skip to content

Commit

Permalink
fix: downlaod .e file
Browse files Browse the repository at this point in the history
  • Loading branch information
trueai-org committed Jun 14, 2024
1 parent 5e8a70a commit 98e0417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MDriveSync.Core/DownloadManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private async void StartDownloadTask(DownloadTask downloadTask)
throw new LogicException("未找到指定的任务配置");
}

var fileName = downloadTask.Name;
var fileName = downloadTask.Name?.TrimSuffix(".e");
if (!string.IsNullOrWhiteSpace(downloadTask.FilePath))
{
fileName = Path.GetFileName(downloadTask.FilePath);
Expand Down

0 comments on commit 98e0417

Please sign in to comment.