mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 12:44:16 +01:00
Merge pull request #237 from Aireil/no_update_disabled_plugins
Ignore updates for most disabled plugins
This commit is contained in:
commit
2c508ce64f
1 changed files with 4 additions and 0 deletions
|
|
@ -184,6 +184,10 @@ namespace Dalamud.Plugin
|
||||||
});
|
});
|
||||||
var latest = sortedVersions.Last();
|
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"));
|
var localInfoFile = new FileInfo(Path.Combine(latest.FullName, $"{installed.Name}.json"));
|
||||||
|
|
||||||
if (!localInfoFile.Exists) {
|
if (!localInfoFile.Exists) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue