支持插件自动更新

This commit is contained in:
muwoo
2023-03-28 10:41:01 +08:00
parent 57781e7b5a
commit 2341d75533
2 changed files with 2 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ const createPluginManager = (): any => {
// 自带的插件不需要检测更新
if (plugin.name === 'rubick-system-feature') return;
await pluginInstance.upgrade(plugin.name);
state.pluginLoading = false;
};
const openPlugin = async (plugin) => {