- Fix LED color publisher: uncomment display_colors_tx.send() to enable LED color events - Replace rust_swift_screencapture with screen-capture-kit for better macOS compatibility - Add bounds checking in LED color processing to prevent array index errors - Update screenshot manager to use CGDisplay as fallback implementation - Fix frontend screenshot URL protocol to use ambient-light:// - Add debug logging for LED color events in frontend - Remove debug logs that were added for troubleshooting - Update dependencies and remove CMake-dependent paho-mqtt temporarily This resolves the issue where LED color events were not being sent to the frontend, enabling real-time LED color visualization in the UI.
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"devPath": "http://localhost:1420",
|
|
"distDir": "../dist",
|
|
"withGlobalTauri": false
|
|
},
|
|
"package": {
|
|
"productName": "test-demo",
|
|
"version": "0.0.1"
|
|
},
|
|
"tauri": {
|
|
"allowlist": {
|
|
"all": false,
|
|
"shell": {
|
|
"all": false,
|
|
"open": true
|
|
},
|
|
"protocol": {
|
|
"all": true,
|
|
"asset": true,
|
|
"assetScope": [
|
|
"**"
|
|
]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"identifier": "cc.ivanli.ambient-light.desktop",
|
|
"targets": "all",
|
|
"macOS": {
|
|
"minimumSystemVersion": "13"
|
|
}
|
|
},
|
|
"security": {
|
|
"csp": null
|
|
},
|
|
"updater": {
|
|
"active": false
|
|
},
|
|
"windows": [
|
|
{
|
|
"fullscreen": false,
|
|
"resizable": true,
|
|
"title": "test-demo",
|
|
"width": 800,
|
|
"height": 600
|
|
}
|
|
]
|
|
}
|
|
}
|