From f181838a34488a6bc09ec021b89d450715f48c33 Mon Sep 17 00:00:00 2001 From: kdletters Date: Sun, 21 Jun 2026 20:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E9=BD=90=E6=A1=8C=E9=9D=A2=E5=A3=B3?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E4=B8=93=E5=B1=9E=E8=83=BD=E5=8A=9B=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E9=97=A8=E7=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 反查桌面壳能力测试排除拍照能力 反查桌面壳能力测试排除触觉反馈能力 防止 Tauri 壳误声明移动专属 HostBridge 能力 --- apps/desktop-shell/scripts/check-config.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/desktop-shell/scripts/check-config.mjs b/apps/desktop-shell/scripts/check-config.mjs index fe29a5e15..86c51ecc7 100644 --- a/apps/desktop-shell/scripts/check-config.mjs +++ b/apps/desktop-shell/scripts/check-config.mjs @@ -1989,7 +1989,9 @@ for (const snippet of [ '"notification.showLocal"', '"auth.requestLogin"', '"payment.request"', + '"file.captureImage"', '"scanner.scanQrCode"', + '"haptics.impact"', 'assert!(!desktop_capabilities.contains(&capability));', ]) { if (!desktopHostBridgeCapabilitiesSource.includes(snippet)) {