From 3f4400e67fd7c1a67f0fc86fb283a3ed3fc27304 Mon Sep 17 00:00:00 2001 From: goaaats <16760685+goaaats@users.noreply.github.com> Date: Sat, 4 Dec 2021 13:09:30 +0100 Subject: [PATCH] Raise API level to 5 --- Dalamud/Interface/Internal/Windows/PluginImageCache.cs | 3 +-- Dalamud/Plugin/Internal/PluginManager.cs | 2 +- Dalamud/Plugin/Internal/PluginRepository.cs | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginImageCache.cs b/Dalamud/Interface/Internal/Windows/PluginImageCache.cs index 6313a1c43..a39b4ed6d 100644 --- a/Dalamud/Interface/Internal/Windows/PluginImageCache.cs +++ b/Dalamud/Interface/Internal/Windows/PluginImageCache.cs @@ -41,8 +41,7 @@ namespace Dalamud.Interface.Internal.Windows /// public const int PluginIconHeight = 512; - // TODO: Change back to master after release - private const string MainRepoImageUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api4/{0}/{1}/images/{2}"; + private const string MainRepoImageUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api5/{0}/{1}/images/{2}"; private BlockingCollection> downloadQueue = new(); private CancellationTokenSource downloadToken = new(); diff --git a/Dalamud/Plugin/Internal/PluginManager.cs b/Dalamud/Plugin/Internal/PluginManager.cs index 4eb06abaf..3c2e9d6ef 100644 --- a/Dalamud/Plugin/Internal/PluginManager.cs +++ b/Dalamud/Plugin/Internal/PluginManager.cs @@ -31,7 +31,7 @@ namespace Dalamud.Plugin.Internal /// /// The current Dalamud API level, used to handle breaking changes. Only plugins with this level will be loaded. /// - public const int DalamudApiLevel = 4; + public const int DalamudApiLevel = 5; private static readonly ModuleLog Log = new("PLUGINM"); diff --git a/Dalamud/Plugin/Internal/PluginRepository.cs b/Dalamud/Plugin/Internal/PluginRepository.cs index 3e4e93fb2..6ed646b0d 100644 --- a/Dalamud/Plugin/Internal/PluginRepository.cs +++ b/Dalamud/Plugin/Internal/PluginRepository.cs @@ -16,8 +16,7 @@ namespace Dalamud.Plugin.Internal /// internal partial class PluginRepository { - // TODO: Change back to master after api4 release - private const string DalamudPluginsMasterUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api4/pluginmaster.json"; + private const string DalamudPluginsMasterUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api5/pluginmaster.json"; private static readonly ModuleLog Log = new("PLUGINR");