feat(extension): add host environment and WebView page events (#1527)

This commit is contained in:
Levi authored and GitHub committed 2026-09-18 23:21:53 +08:00
1 parent 5d8267fa56
commit 49aab4ea7c
31 files changed
+1480 -184

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func (d *Downloader) NewExtensionEngine(ext *Extension, settings map[string]any)
WebView: d.newExtensionWebViewRuntime(session, ext.buildIdentity()),
},
}
if err := injectGopeed(engine.Runtime, gopeed); err != nil {
if err := injectGopeed(engine.Runtime, gopeed, engine.Post); err != nil {
session.CloseIfIdle()
return nil, err
}