Fix dash files not being saved (#1236)

This commit is contained in:
MBucari 2025-05-07 23:15:44 -06:00
parent 176294cc55
commit 28ba62aead

View File

@ -204,6 +204,9 @@ namespace AaxDecrypter
else else
throw new InvalidOperationException($"Unknown file type: {fileType}"); throw new InvalidOperationException($"Unknown file type: {fileType}");
if (tempFilePath != aaxPath)
FileUtility.SaferMove(tempFilePath, aaxPath);
OnFileCreated(aaxPath); OnFileCreated(aaxPath);
OnFileCreated(keyPath); OnFileCreated(keyPath);
} }