mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
feat: add orphaned plugins regardless, inform users in installer
This commit is contained in:
parent
12722c776d
commit
ce8e088044
2 changed files with 29 additions and 7 deletions
|
|
@ -658,11 +658,8 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
manifest.Testing = true;
|
||||
}
|
||||
|
||||
if (repoManifest.SourceRepo.IsThirdParty)
|
||||
{
|
||||
// Only document the url if it came from a third party repo.
|
||||
manifest.InstalledFromUrl = repoManifest.SourceRepo.PluginMasterUrl;
|
||||
}
|
||||
// Document the url the plugin was installed from
|
||||
manifest.InstalledFromUrl = repoManifest.SourceRepo.PluginMasterUrl;
|
||||
|
||||
manifest.Save(manifestFile);
|
||||
|
||||
|
|
@ -740,9 +737,14 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
}
|
||||
else if (plugin.IsOutdated)
|
||||
{
|
||||
// Out of date plugins get added so they can be updated.
|
||||
// Out of date plugins get added, so they can be updated.
|
||||
Log.Information(ex, $"Plugin was outdated, adding anyways: {dllFile.Name}");
|
||||
}
|
||||
else if (plugin.IsOrphaned)
|
||||
{
|
||||
// Orphaned plugins get added, so that users aren't confused.
|
||||
Log.Information(ex, $"Plugin was orphaned, adding anyways: {dllFile.Name}");
|
||||
}
|
||||
else if (isBoot)
|
||||
{
|
||||
// During boot load, plugins always get added to the list so they can be fiddled with in the UI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue