From e4e727ee86c35103c8981dce992d6c1d96c65caa Mon Sep 17 00:00:00 2001 From: obgnail Date: Thu, 24 Aug 2023 00:38:20 +0800 Subject: [PATCH] update toml --- plugin/custom/index.js | 2 +- plugin/{custom => global/settings}/custom_plugin.toml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename plugin/{custom => global/settings}/custom_plugin.toml (100%) diff --git a/plugin/custom/index.js b/plugin/custom/index.js index 78c27481..ff92ae63 100644 --- a/plugin/custom/index.js +++ b/plugin/custom/index.js @@ -22,7 +22,7 @@ class loadPluginHelper { } load() { - const allPlugins = this.controller.utils.readToml("./plugin/custom/custom_plugin.toml"); + const allPlugins = this.controller.utils.readToml("./plugin/global/settings/custom_plugin.toml"); allPlugins.plugins.forEach(info => { if (!info.enable) return try { diff --git a/plugin/custom/custom_plugin.toml b/plugin/global/settings/custom_plugin.toml similarity index 100% rename from plugin/custom/custom_plugin.toml rename to plugin/global/settings/custom_plugin.toml