mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-22 18:22:53 +08:00
✨ 适配超级面板
This commit is contained in:
@@ -83,6 +83,12 @@ const createPluginManager = (): any => {
|
||||
remote.getGlobal("LOCAL_PLUGINS").updatePlugin(currentPlugin);
|
||||
};
|
||||
|
||||
window.setCurrentPlugin = ({ currentPlugin }) => {
|
||||
console.log(currentPlugin);
|
||||
state.currentPlugin = currentPlugin;
|
||||
setSearchValue("");
|
||||
};
|
||||
|
||||
window.initRubick = () => {
|
||||
state.currentPlugin = {};
|
||||
setSearchValue("");
|
||||
|
||||
Reference in New Issue
Block a user