fix: fix renderer plugin load timing

- fix #1522
This commit is contained in:
JellyBrick
2023-12-12 12:53:41 +09:00
parent a8fe4167db
commit 5fa88b5ce9
2 changed files with 45 additions and 41 deletions

View File

@ -53,3 +53,5 @@ contextBridge.exposeInMainWorld(
'ELECTRON_RENDERER_URL',
process.env.ELECTRON_RENDERER_URL,
);
ipcRenderer.invoke('load-renderer-plugins');