LLOneBot/dist/preload.js
linyuchen cc7d869c84 init
2023-10-25 17:34:12 +08:00

8 lines
201 B
JavaScript

// Electron 主进程 与 渲染进程 交互的桥梁
const { contextBridge } = require("electron");
// 在window对象下导出只读对象
contextBridge.exposeInMainWorld("plugin_template", {
});