[Feature] Freeze updates for devs (#582)

This commit is contained in:
Andrew Moore
2024-02-14 23:45:55 -05:00
committed by Party Wumpus
parent dc1697d049
commit c2ebc78836
9 changed files with 116 additions and 11 deletions

View File

@@ -289,12 +289,16 @@ class PluginBrowser:
Args:
name (string): The name of the plugin
"""
frozen_plugins = self.settings.getSetting("frozenPlugins", [])
if name in frozen_plugins:
frozen_plugins.remove(name)
self.settings.setSetting("frozenPlugins", frozen_plugins)
hidden_plugins = self.settings.getSetting("hiddenPlugins", [])
if name in hidden_plugins:
hidden_plugins.remove(name)
self.settings.setSetting("hiddenPlugins", hidden_plugins)
plugin_order = self.settings.getSetting("pluginOrder", [])
if name in plugin_order: