Raise API level to 5

This commit is contained in:
goaaats 2021-12-04 13:09:30 +01:00
parent ab386c4401
commit 3f4400e67f
No known key found for this signature in database
GPG key ID: F18F057873895461
3 changed files with 3 additions and 5 deletions

View file

@ -41,8 +41,7 @@ namespace Dalamud.Interface.Internal.Windows
/// </summary>
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<Func<Task>> downloadQueue = new();
private CancellationTokenSource downloadToken = new();

View file

@ -31,7 +31,7 @@ namespace Dalamud.Plugin.Internal
/// <summary>
/// The current Dalamud API level, used to handle breaking changes. Only plugins with this level will be loaded.
/// </summary>
public const int DalamudApiLevel = 4;
public const int DalamudApiLevel = 5;
private static readonly ModuleLog Log = new("PLUGINM");

View file

@ -16,8 +16,7 @@ namespace Dalamud.Plugin.Internal
/// </summary>
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");