diff --git a/Wabbajack.Common/GameMetaData.cs b/Wabbajack.Common/GameMetaData.cs index f347e862..9ec216a9 100644 --- a/Wabbajack.Common/GameMetaData.cs +++ b/Wabbajack.Common/GameMetaData.cs @@ -392,6 +392,7 @@ namespace Wabbajack.Common SupportedModManager = ModManager.MO2, Game = Game.Enderal, NexusName = "enderal", + NexusGameId = 2736, MO2Name = "Enderal", MO2ArchiveName = "enderal", SteamIDs = new List{1027920, 933480}, diff --git a/Wabbajack.Lib/Downloaders/NexusDownloader.cs b/Wabbajack.Lib/Downloaders/NexusDownloader.cs index 1d6e7918..91ea0c7f 100644 --- a/Wabbajack.Lib/Downloaders/NexusDownloader.cs +++ b/Wabbajack.Lib/Downloaders/NexusDownloader.cs @@ -237,7 +237,7 @@ namespace Wabbajack.Lib.Downloaders return new[] {"[General]", $"gameName={Game.MetaData().MO2ArchiveName}", $"modID={ModID}", $"fileID={FileID}"}; } - public async Task<(Archive? Archive, TempFile NewFile)> FindUpgrade(Archive a, Func> downloadResolver) + public override async Task<(Archive? Archive, TempFile NewFile)> FindUpgrade(Archive a, Func> downloadResolver) { var client = await NexusApiClient.Get(); diff --git a/Wabbajack.Server/Services/CDNMirrorList.cs b/Wabbajack.Server/Services/CDNMirrorList.cs index e0f438ee..cec679fd 100644 --- a/Wabbajack.Server/Services/CDNMirrorList.cs +++ b/Wabbajack.Server/Services/CDNMirrorList.cs @@ -11,9 +11,9 @@ using Wabbajack.Common; namespace Wabbajack.Server.Services { - public class CDNMirrorList : AbstractService + public class CDNMirrorList : AbstractService { - public CDNMirrorList(ILogger logger, AppSettings settings, QuickSync quickSync) : base(logger, settings, quickSync, TimeSpan.FromHours(1)) + public CDNMirrorList(ILogger logger, AppSettings settings, QuickSync quickSync) : base(logger, settings, quickSync, TimeSpan.FromHours(6)) { } public string[] Mirrors { get; private set; } diff --git a/Wabbajack.Server/Services/NexusPermissionsUpdater.cs b/Wabbajack.Server/Services/NexusPermissionsUpdater.cs index 5879940a..fdab4a16 100644 --- a/Wabbajack.Server/Services/NexusPermissionsUpdater.cs +++ b/Wabbajack.Server/Services/NexusPermissionsUpdater.cs @@ -12,12 +12,12 @@ using Wabbajack.Server.DTOs; namespace Wabbajack.Server.Services { - public class NexusPermissionsUpdater : AbstractService + public class NexusPermissionsUpdater : AbstractService { private DiscordWebHook _discord; private SqlService _sql; - public NexusPermissionsUpdater(ILogger logger, AppSettings settings, QuickSync quickSync, DiscordWebHook discord, SqlService sql) : base(logger, settings, quickSync, TimeSpan.FromMinutes(5)) + public NexusPermissionsUpdater(ILogger logger, AppSettings settings, QuickSync quickSync, DiscordWebHook discord, SqlService sql) : base(logger, settings, quickSync, TimeSpan.FromMinutes(5)) { _discord = discord; _sql = sql; diff --git a/Wabbajack/Views/LinksView.xaml b/Wabbajack/Views/LinksView.xaml index b09be61c..c2dd022b 100644 --- a/Wabbajack/Views/LinksView.xaml +++ b/Wabbajack/Views/LinksView.xaml @@ -12,33 +12,41 @@ + - + - -