fix(tauri): 移除 macOSPrivateApi(未签名 dev 构建调用私有 API 导致启动 SIGTRAP 崩溃)
崩溃栈: NSBundle bundleWithIdentifier → objc2 msg_send → EXC_BREAKPOINT 窗口为标准全屏,无需私有 API;摄像头/麦克风权限由 Info.plist 声明,不受影响
This commit is contained in:
@@ -13,7 +13,7 @@ crate-type = ["staticlib", "cdylib", "rlib"]
|
|||||||
tauri-build = { version = "2", features = [] }
|
tauri-build = { version = "2", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "2", features = ["macos-private-api"] }
|
tauri = { version = "2", features = [] }
|
||||||
tauri-plugin-opener = "2"
|
tauri-plugin-opener = "2"
|
||||||
tauri-plugin-autostart = "2"
|
tauri-plugin-autostart = "2"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "昆明大学生创业园展播系统",
|
"productName": "云超服昆创园OPC运营中心",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"identifier": "com.pine.dpm",
|
"identifier": "com.pine.dpm",
|
||||||
"build": {
|
"build": {
|
||||||
@@ -10,10 +10,9 @@
|
|||||||
"frontendDist": "../dist"
|
"frontendDist": "../dist"
|
||||||
},
|
},
|
||||||
"app": {
|
"app": {
|
||||||
"macOSPrivateApi": true,
|
|
||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"title": "昆明大学生创业园展播系统",
|
"title": "云超服昆创园OPC运营中心",
|
||||||
"width": 1200,
|
"width": 1200,
|
||||||
"height": 800,
|
"height": 800,
|
||||||
"fullscreen": true,
|
"fullscreen": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user