Fix dash files not being saved (#1236)
This commit is contained in:
parent
176294cc55
commit
28ba62aead
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user