fix(tauri): patch wry 绕过 macOS 26 启动崩溃(NSBundle bundleWithIdentifier SIGTRAP)
- 根因:tauri 启动探测 webview 版本时调用 wry platform_webview_version() → NSBundle::bundleWithIdentifier(com.apple.WebKit) 在 macOS 26 (Tahoe) 上 触发 CFBundle/CFRelease 断言崩溃(EXC_BREAKPOINT) - 方案:vendor 本地 wry 0.55.1,该函数改为安全占位返回(仅被上层用作 is_ok() 探测, 返回值无实际用途),[patch.crates-io] 指向本地副本 - 附带:移除 NSBundle import,消除 unused 警告
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
SPDXVersion: SPDX-2.1
|
||||
DataLicense: CC0-1.0
|
||||
PackageName: wry
|
||||
DataFormat: SPDXRef-1
|
||||
PackageSupplier: Organization: The Tauri Programme in the Commons Conservancy
|
||||
PackageHomePage: https://tauri.app
|
||||
PackageLicenseDeclared: Apache-2.0
|
||||
PackageLicenseDeclared: MIT
|
||||
PackageCopyrightText: 2020-2023, The Tauri Programme in the Commons Conservancy
|
||||
PackageSummary: <text>Wry is the official, rust-based webview
|
||||
windowing service for Tauri.
|
||||
</text>
|
||||
PackageComment: <text>The package includes the following libraries; see
|
||||
Relationship information.
|
||||
</text>
|
||||
Created: 2020-05-20T09:00:00Z
|
||||
PackageDownloadLocation: git://github.com/tauri-apps/wry
|
||||
PackageDownloadLocation: git+https://github.com/tauri-apps/wry.git
|
||||
PackageDownloadLocation: git+ssh://github.com/tauri-apps/wry.git
|
||||
Creator: Person: Daniel Thompson-Yvetot
|
||||
Reference in New Issue
Block a user