fix(desktop): 开启 macOSPrivateApi,透明窗口不再画白底(12A 实测反馈)
识别浮层/托盘菜单窗口虽已 transparent:true 且页面背景透明,但 macOS 上 WKWebView 需要 macOSPrivateApi 才能真透明,否则渲染白底。Cargo 侧 macos-private-api feature 已就位,仅补 conf 开关。不走 App Store 分发,私有 API 可用。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,8 @@
|
||||
],
|
||||
"security": {
|
||||
"csp": null
|
||||
}
|
||||
},
|
||||
"macOSPrivateApi": true
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
|
||||
Reference in New Issue
Block a user