iptv-app/desktop/src-tauri/tauri.conf.json
李岩岩 2cab50db31 feat(build): 配置多平台打包输出
- 添加 .env.web/.desktop/.android/.tv 环境变量文件
- 修改 vite.config.js 支持多平台输出到 dist/{platform}/
- 添加 npm run build:web/desktop/android/tv 命令
- 更新 desktop/android/android-tv/web 各端的资源引用路径
- 更新 build-mac.sh 使用 build:desktop 命令
2026-02-05 14:19:28 +08:00

72 lines
1.5 KiB
JSON

{
"build": {
"beforeBuildCommand": "",
"beforeDevCommand": "",
"devPath": "../../ui/dist/desktop",
"distDir": "../../ui/dist/desktop",
"withGlobalTauri": false
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
}
},
"bundle": {
"active": true,
"category": "Entertainment",
"copyright": "",
"deb": {
"depends": []
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.iptv.player",
"longDescription": "IPTV Player for desktop",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "IPTV Player",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 800,
"resizable": true,
"title": "IPTV Player",
"width": 1200,
"minWidth": 900,
"minHeight": 600,
"center": true,
"decorations": true,
"transparent": false
}
]
}
}