Use Patrice's Image Editor improvements plugin as a core plugin

This commit is contained in:
cmdr2 2023-06-27 17:26:07 +05:30
parent 74aa1a9db1
commit fda30b1ecd
2 changed files with 2995 additions and 1 deletions

View File

@ -182,10 +182,12 @@ def update_render_threads():
def getUIPlugins():
plugins = []
file_names = set()
for plugins_dir, dir_prefix in UI_PLUGINS_SOURCES:
for file in os.listdir(plugins_dir):
if file.endswith(".plugin.js"):
if file.endswith(".plugin.js") and file not in file_names:
plugins.append(f"/plugins/{dir_prefix}/{file}")
file_names.add(file)
return plugins

File diff suppressed because it is too large Load Diff