From d6d69aa603e1e4951d5467c7d3b50788b1047a58 Mon Sep 17 00:00:00 2001 From: Pine Date: Tue, 18 Aug 2026 01:46:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(tauri):=20=E7=A7=BB=E9=99=A4=20macOSPrivate?= =?UTF-8?q?Api=EF=BC=88=E6=9C=AA=E7=AD=BE=E5=90=8D=20dev=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=B0=83=E7=94=A8=E7=A7=81=E6=9C=89=20API=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=90=AF=E5=8A=A8=20SIGTRAP=20=E5=B4=A9=E6=BA=83?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 崩溃栈: NSBundle bundleWithIdentifier → objc2 msg_send → EXC_BREAKPOINT 窗口为标准全屏,无需私有 API;摄像头/麦克风权限由 Info.plist 声明,不受影响 --- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 33aa812..b5ed64e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["staticlib", "cdylib", "rlib"] tauri-build = { version = "2", features = [] } [dependencies] -tauri = { version = "2", features = ["macos-private-api"] } +tauri = { version = "2", features = [] } tauri-plugin-opener = "2" tauri-plugin-autostart = "2" serde = { version = "1", features = ["derive"] } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 0e91190..cce40d8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.tauri.app/config/2", - "productName": "昆明大学生创业园展播系统", + "productName": "云超服昆创园OPC运营中心", "version": "0.1.0", "identifier": "com.pine.dpm", "build": { @@ -10,10 +10,9 @@ "frontendDist": "../dist" }, "app": { - "macOSPrivateApi": true, "windows": [ { - "title": "昆明大学生创业园展播系统", + "title": "云超服昆创园OPC运营中心", "width": 1200, "height": 800, "fullscreen": true,