feat(browser): 应用内浏览器插件 + 独立浏览器窗口命令
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m8s
Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m8s
- lib.rs:新增 open_browser_window(label=browser 单窗口复用,原生 navigate 导航, 只放行 http/https),以及 browser_control(back/forward/reload/close)、 browser_state(open/url)两个主窗口发起的控制命令。 - 窗口几何按 label 存取:主窗口沿用 window-geom.json,浏览器窗口用 browser-geom.json (下限 800x600,换显示器只恢复尺寸)。 - 修 CloseRequested 对非 main 窗口也 prevent_close 的问题:此前浏览器窗口点 ✕ 只是被隐藏, 页面/音频在后台继续跑且再也关不掉。现在非 main 窗口正常销毁。 - 同步源仓新增 browser 插件(上架白名单 + meta 展示信息 + 产物 plugin-browser.1bcb58.js)。
This commit is contained in:
1 parent
9891e819b4
commit
a4a899f424
7 files changed
+439
-28
No files matched your search
@@ -11,6 +11,12 @@
|
||||
"version": "1.0.0",
|
||||
"integrity": "sha256-Z3Y4k/qZyP4di89kBCb1u8V2q9NbzchMkQt7CPeZZPk="
|
||||
},
|
||||
{
|
||||
"id": "browser",
|
||||
"file": "plugin-browser.f1bcb5809c9a.js",
|
||||
"version": "1.0.0",
|
||||
"integrity": "sha256-8by1gJyaOUltKL7r7vUQSeWO/Uc9cIAXLRs4i3JdCVk="
|
||||
},
|
||||
{
|
||||
"id": "image-annotate",
|
||||
"file": "plugin-image-annotate.7a865c7c353c.js",
|
||||
|
||||
Reference in new issue
Block a user