feat: 新增 Frp 下载管理功能,支持版本拉取、下载、导入和删除

新增 Frp 下载相关的后端命令、前端组件和类型定义,包括:
- 后端:添加 frp 模块,实现版本拉取、下载、导入、删除逻辑,新增数据库表
- 前端:新增 FrpCard 组件、下载页面,集成版本选择和下载进度展示
- 国际化:新增中英双语的 Frp 相关文案
- 依赖:添加 reqwest、futures-util、tokio 等网络和异步处理依赖
This commit is contained in:
Yuhang Wu
2026-10-13 16:39:29 +08:00
parent 50bf5f7e36
commit db7b1096d1
16 changed files with 1608 additions and 19 deletions
+29
View File
@@ -41,6 +41,7 @@
"arch": "Architecture",
"ip": "IP address",
"frpcVersion": "Frpc version",
"frpcVersionEmpty": "No downloaded version yet. Download one from the Frpc download page first.",
"start": "One-click start",
"stop": "Stop",
"logs": "Live logs",
@@ -180,6 +181,34 @@
"portRange": "Port must be between 1 and 65535"
}
},
"frp": {
"refresh": "Refresh",
"import": "Import local",
"showAllArchFrpc": "All-arch Frpc",
"showAllArchFrps": "All-arch Frps",
"empty": "No Frp release data. Click Refresh to retry.",
"downloaded": "Downloaded",
"local": "Local",
"download": "Download",
"copyLink": "Copy download link",
"delete": "Delete",
"deleteConfirm": "Are you sure you want to delete {version} ({platform})?",
"size": "Size",
"downloadCount": "Downloads",
"publishedAt": "Published",
"downloadSuccess": "Download completed",
"deleteSuccess": "Deleted successfully",
"copySuccess": "Download link copied",
"copyFailed": "Copy failed, please copy manually",
"importSuccess": "Imported {count} file(s)",
"importEmpty": "No file selected",
"status": {
"downloading": "Downloading",
"extracting": "Extracting",
"done": "Done",
"error": "Download failed"
}
},
"common": {
"developing": "This feature is under construction",
"confirm": "OK",