mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-08 11:34:10 +08:00
♻️ 系统插件钩子函数传入 api 参数
This commit is contained in:
parent
668a470276
commit
e8d69214b7
@ -62,7 +62,10 @@ class App {
|
||||
createTray(this.windowCreator.getWindow());
|
||||
registerHotKey(this.windowCreator.getWindow());
|
||||
this.systemPlugins.triggerReadyHooks(
|
||||
Object.assign(electron, { mainWindow: this.windowCreator.getWindow() })
|
||||
Object.assign(electron, {
|
||||
mainWindow: this.windowCreator.getWindow(),
|
||||
API,
|
||||
})
|
||||
);
|
||||
};
|
||||
if (!app.isReady()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user