diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d208555..d971a6c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ #### Version - 2.0.8.0 - ?? * Make sure the MEGA client is logged out before logging in (#881) +* Removed final references to `nexus_link_cache` (#865) #### Version - 2.0.7.0 - 5/28/2020 * Code is now robust when dealing with invasive Anti-virus software. We'll retry deletes/opens if the file is in use diff --git a/Wabbajack.Common/Consts.cs b/Wabbajack.Common/Consts.cs index 4a072a48..3ebb91f0 100644 --- a/Wabbajack.Common/Consts.cs +++ b/Wabbajack.Common/Consts.cs @@ -41,8 +41,6 @@ namespace Wabbajack.Common public static readonly Extension ESM = new Extension(".esm"); public static readonly Extension ESP = new Extension(".esp"); - public static string NexusCacheDirectory = "nexus_link_cache"; - public static string WABBAJACK_INCLUDE = "WABBAJACK_INCLUDE"; public static string WABBAJACK_ALWAYS_ENABLE = "WABBAJACK_ALWAYS_ENABLE"; public static string WABBAJACK_NOMATCH_INCLUDE = "WABBAJACK_NOMATCH_INCLUDE"; diff --git a/Wabbajack.Lib/CompilationSteps/IgnoreWabbajackInstallCruft.cs b/Wabbajack.Lib/CompilationSteps/IgnoreWabbajackInstallCruft.cs index e8e71212..f2632c21 100644 --- a/Wabbajack.Lib/CompilationSteps/IgnoreWabbajackInstallCruft.cs +++ b/Wabbajack.Lib/CompilationSteps/IgnoreWabbajackInstallCruft.cs @@ -14,8 +14,7 @@ namespace Wabbajack.Lib.CompilationSteps { _cruftFiles = new HashSet<string> { - "7z.dll", "7z.exe", "vfs_staged_files\\", "nexus.key_cache", "patch_cache\\", - Consts.NexusCacheDirectory + "\\" + "7z.dll", "7z.exe", "vfs_staged_files\\", "nexus.key_cache", "patch_cache\\" }; } diff --git a/Wabbajack.Lib/NexusApi/NexusApi.cs b/Wabbajack.Lib/NexusApi/NexusApi.cs index 0af0bcc3..de350f42 100644 --- a/Wabbajack.Lib/NexusApi/NexusApi.cs +++ b/Wabbajack.Lib/NexusApi/NexusApi.cs @@ -246,9 +246,6 @@ namespace Wabbajack.Lib.NexusApi headers.Add(("Accept", "application/json")); headers.Add(("Application-Name", Consts.AppName)); headers.Add(("Application-Version", $"{Assembly.GetEntryAssembly()?.GetName()?.Version ?? new Version(0, 1)}")); - - if (!Directory.Exists(Consts.NexusCacheDirectory)) - Directory.CreateDirectory(Consts.NexusCacheDirectory); } public static async Task<NexusApiClient> Get(string? apiKey = null)