mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 19:39:27 +08:00
✨ 支持插件分离,增加开发者工具功能
This commit is contained in:
@@ -142,6 +142,7 @@ const showSeparate = () => {
|
||||
{
|
||||
label: "开发者工具",
|
||||
click: () => {
|
||||
ipcRenderer.send("msg-trigger", { type: "openPluginDevTools" });
|
||||
// todo
|
||||
},
|
||||
},
|
||||
@@ -179,6 +180,9 @@ const getIcon = () => {
|
||||
}
|
||||
|
||||
const newWindow = () => {
|
||||
ipcRenderer.send("msg-trigger", {
|
||||
type: "detachPlugin",
|
||||
});
|
||||
// todo
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user