Files
JE-Skin/src-tauri/tauri.conf.json
lenn 551022215c feat: add Android USB serial port support via USB Host API
- Add USB Host permissions and device filter to AndroidManifest.xml
- Create UsbSerialPlugin Kotlin plugin for USB Host API (enumerate, permission, open devices)
- Add serial_connect_fd command for Android to accept USB file descriptors
- Create RawFdStream wrapper for async I/O on raw file descriptors
- Make run_serial_with_poll generic over AsyncRead+AsyncWrite
- Register UsbSerialPlugin in MainActivity
2026-05-11 20:31:46 +08:00

50 lines
1.0 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "JE-Skin",
"version": "0.4.0",
"identifier": "com.lenn.tauri-serial",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../build"
},
"app": {
"windows": [
{
"title": "JE-Skin",
"width": 1366,
"height": 860,
"decorations": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"createUpdaterArtifacts": true,
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"nsis": {
"installMode": "both",
"displayLanguageSelector": false,
"installerIcon": "icons/icon.ico",
"template": "nsis/installer.nsi"
}
},
"resources": [
"resources/je-skin-devkit-server.exe"
]
},
"plugins": {}
}