Merge pull request #237 from Aireil/no_update_disabled_plugins

Ignore updates for most disabled plugins
This commit is contained in:
goaaats 2021-01-05 10:48:22 +01:00 committed by GitHub
commit 2c508ce64f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,6 +184,10 @@ namespace Dalamud.Plugin
});
var latest = sortedVersions.Last();
if (File.Exists(Path.Combine(latest.FullName, ".disabled")) && !File.Exists(Path.Combine(latest.FullName, ".testing"))) {
continue;
}
var localInfoFile = new FileInfo(Path.Combine(latest.FullName, $"{installed.Name}.json"));
if (!localInfoFile.Exists) {