Wardrobe/src-tauri/tauri.conf.json
jif2.zhang 38b5e3190a init: Wardrobe 衣物管理系统 - 项目首页、OTA 升级、Android CI/CD
- 响应式项目首页 (Landing, 含 R2 APK 下载) + 路由 /home 调整
- OTA 升级: tauri-plugin-hotswap (lib.rs/main.rs 拆分, 客户端热替换)
- OTA 服务端 (check/bundle/manifest-web) + build-ota/genkey/upload 脚本
- 密钥/凭据统一存配置中心 (signing + ota + cloudflare 分组)
- Android CI (android-* 分支) + OTA CI (手动触发), 产物上传 R2
- 修复 tsc/构建阻塞问题
2026-09-11 15:46:42 +08:00

51 lines
1.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Wardrobe",
"version": "0.1.0",
"identifier": "com.wardrobe.app",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "Wardrobe - 衣物管理",
"width": 390,
"height": 844,
"minWidth": 360,
"minHeight": 640,
"resizable": true,
"fullscreen": false,
"center": true
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"shell": {
"open": true
},
"hotswap": {
"endpoint": "http://bh.vps.honor3.com:3002/api/ota/check/{{current_sequence}}",
"pubkey": "RWTHU7sECNXhIJY+dp+plthZMsQ2oGdboaKxuRA2QaqbCq3tkKGiKsYl",
"require_https": false,
"headers": {}
}
}
}