Skip to content

Commit

Permalink
repos: warn on missing testing API
Browse files Browse the repository at this point in the history
  • Loading branch information
Aireil authored Oct 13, 2024
1 parent 60bb357 commit 4225f32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dalamud/Plugin/Internal/Types/PluginRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@ private bool IsValidManifest(RemotePluginManifest manifest)
return false;
}

if (manifest.TestingAssemblyVersion != null &&
manifest.TestingAssemblyVersion > manifest.AssemblyVersion &&
manifest.TestingDalamudApiLevel == null)
{
Log.Warning("Plugin {PluginName} in {RepoLink} has a testing version, but no testing API associated with it, \"TestingDalamudApiLevel\" is required.", manifest.InternalName, this.PluginMasterUrl);
}

return true;
}

Expand Down

0 comments on commit 4225f32

Please sign in to comment.