添加了设置页面路由、外观设置子页面,支持主题模式切换和自定义窗口背景图片,新增相关 Rust 后端模块、数据库初始化、多语言文案及配置项,更新 Tauri 配置和项目描述。
48 lines
1022 B
JSON
48 lines
1022 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "frpilot",
|
|
"version": "../package.json",
|
|
"identifier": "frpilot",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Frpilot",
|
|
"width": 1100,
|
|
"height": 720,
|
|
"minWidth": 900,
|
|
"minHeight": 600,
|
|
"decorations": false,
|
|
"transparent": false
|
|
}
|
|
],
|
|
"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": {
|
|
"updater": {
|
|
"active": true,
|
|
"dialog": true,
|
|
"endpoints": ["https://ghproxy.net/https://github.com/SparksFly91/Frpilot/releases/latest/download/latest.json"],
|
|
"pubkey": ""
|
|
}
|
|
}
|
|
}
|