mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 11:59:21 +01:00
allow loading dev plugins with the wrong API level, but add a validation error
This commit is contained in:
parent
d628be9536
commit
7283e634e9
4 changed files with 26 additions and 2 deletions
|
|
@ -2779,7 +2779,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var disabled = this.updateStatus == OperationStatus.InProgress || this.installStatus == OperationStatus.InProgress;
|
||||
|
||||
// Disable everything if the plugin is outdated
|
||||
disabled = disabled || (plugin.IsOutdated && !pluginManager.LoadAllApiLevels) || plugin.IsBanned;
|
||||
disabled = disabled || (plugin.IsOutdated && !pluginManager.LoadAllApiLevels && !plugin.IsDev) || plugin.IsBanned;
|
||||
|
||||
// Disable everything if the plugin is orphaned
|
||||
// Control will immediately be disabled once the plugin is disabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue