桌面壳主动导航保留宿主上下文

抽出 Tauri H5 宿主上下文补写方法

让桌面深链和主动同源跳转共用宿主上下文

补充桌面壳检查脚本和文档决策
This commit is contained in:
2026-06-18 23:34:44 +08:00
parent dbcfa51191
commit 04d2498579
7 changed files with 157 additions and 53 deletions
@@ -1221,6 +1221,9 @@ const requiredRustHostSnippets = [
'file.imageDropped',
'app.notification().builder()',
'desktop_entry_url_with_platform',
'desktop_h5_url_with_host_context',
'desktop_h5_url_with_host_context(target_url)',
'desktop_h5_url_with_host_context(normalized_url)',
'desktop_window_config_with_runtime_platform',
'desktop_window_config_with_runtime_platform(config)',
'should_allow_desktop_webview_navigation',