mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-26 12:42:34 +08:00
✨ 适配超级面板
This commit is contained in:
@@ -13,7 +13,6 @@ const pluginInstance = new PluginHandler({
|
||||
global.LOCAL_PLUGINS = {
|
||||
PLUGINS: [],
|
||||
async downloadPlugin(plugin) {
|
||||
console.log(plugin);
|
||||
await pluginInstance.install([plugin.name], { isDev: plugin.isDev });
|
||||
if (plugin.isDev) {
|
||||
// 获取 dev 插件信息
|
||||
@@ -30,7 +29,6 @@ global.LOCAL_PLUGINS = {
|
||||
...pluginInfo,
|
||||
};
|
||||
}
|
||||
console.log(plugin);
|
||||
global.LOCAL_PLUGINS.addPlugin(plugin);
|
||||
return global.LOCAL_PLUGINS.PLUGINS;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user