From 28ba62aead001dd0245976a0552eba8f57351f1b Mon Sep 17 00:00:00 2001 From: MBucari Date: Wed, 7 May 2025 23:15:44 -0600 Subject: [PATCH] Fix dash files not being saved (#1236) --- Source/AaxDecrypter/AudiobookDownloadBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/AaxDecrypter/AudiobookDownloadBase.cs b/Source/AaxDecrypter/AudiobookDownloadBase.cs index 23d12e4c..392c21f1 100644 --- a/Source/AaxDecrypter/AudiobookDownloadBase.cs +++ b/Source/AaxDecrypter/AudiobookDownloadBase.cs @@ -204,6 +204,9 @@ namespace AaxDecrypter else throw new InvalidOperationException($"Unknown file type: {fileType}"); + if (tempFilePath != aaxPath) + FileUtility.SaferMove(tempFilePath, aaxPath); + OnFileCreated(aaxPath); OnFileCreated(keyPath); }