Skip to content

Commit 3f4400e

Browse files
committed
Raise API level to 5
1 parent ab386c4 commit 3f4400e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

Dalamud/Interface/Internal/Windows/PluginImageCache.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ internal class PluginImageCache : IDisposable
4141
/// </summary>
4242
public const int PluginIconHeight = 512;
4343

44-
// TODO: Change back to master after release
45-
private const string MainRepoImageUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api4/{0}/{1}/images/{2}";
44+
private const string MainRepoImageUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api5/{0}/{1}/images/{2}";
4645

4746
private BlockingCollection<Func<Task>> downloadQueue = new();
4847
private CancellationTokenSource downloadToken = new();

Dalamud/Plugin/Internal/PluginManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal partial class PluginManager : IDisposable
3131
/// <summary>
3232
/// The current Dalamud API level, used to handle breaking changes. Only plugins with this level will be loaded.
3333
/// </summary>
34-
public const int DalamudApiLevel = 4;
34+
public const int DalamudApiLevel = 5;
3535

3636
private static readonly ModuleLog Log = new("PLUGINM");
3737

Dalamud/Plugin/Internal/PluginRepository.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ namespace Dalamud.Plugin.Internal
1616
/// </summary>
1717
internal partial class PluginRepository
1818
{
19-
// TODO: Change back to master after api4 release
20-
private const string DalamudPluginsMasterUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api4/pluginmaster.json";
19+
private const string DalamudPluginsMasterUrl = "https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api5/pluginmaster.json";
2120

2221
private static readonly ModuleLog Log = new("PLUGINR");
2322

0 commit comments

Comments
 (0)