Fix tmp file extension to aaxc

This commit is contained in:
Michael Bucari-Tovo 2022-05-08 16:13:35 -06:00
parent 0e2997d309
commit 458ea6a377

View File

@ -47,7 +47,7 @@ namespace AaxDecrypter
throw new DirectoryNotFoundException($"Directory does not exist: {nameof(cacheDirectory)}"); throw new DirectoryNotFoundException($"Directory does not exist: {nameof(cacheDirectory)}");
jsonDownloadState = Path.Combine(cacheDirectory, Path.GetFileName(Path.ChangeExtension(OutputFileName, ".json"))); jsonDownloadState = Path.Combine(cacheDirectory, Path.GetFileName(Path.ChangeExtension(OutputFileName, ".json")));
TempFilePath = Path.ChangeExtension(jsonDownloadState, ".tmp"); TempFilePath = Path.ChangeExtension(jsonDownloadState, ".aaxc");
DownloadOptions = ArgumentValidator.EnsureNotNull(dlLic, nameof(dlLic)); DownloadOptions = ArgumentValidator.EnsureNotNull(dlLic, nameof(dlLic));