feat(registry): 迁移至 Rust + Axum + SQLite 并新增编辑、分页和档案同步功能 - 后端从 Node.js 迁移到 Rust,使用 Axum 框架和 SQLite 存储 - 新增档案编辑对话框,支持修改机型、登记人及替换/删除照片 - 档案列表增加分页导航(每页20条) - 新增档案同步状态提示及手动重试同步按钮 - Node.js 原版后端及网页保留为回退方案,移至 legacy-web 目录 - 更新 .gitignore 添加 Rust 构建产物(target、dist) - 更新 README 文档,补充 Rust 启动、开发、检查及打包说明 - 启动源码版.cmd 默认转发至 Rust 版启动脚本 ```
11 lines
358 B
Batchfile
11 lines
358 B
Batchfile
@echo off
|
|
cd /d "%~dp0"
|
|
if exist "%~dp0fpv-rid-registry.exe" (
|
|
"%~dp0fpv-rid-registry.exe"
|
|
) else if exist "D:\Rust_Contact\util\target\Rid_Drone_Receivev\release\fpv-rid-registry.exe" (
|
|
"D:\Rust_Contact\util\target\Rid_Drone_Receivev\release\fpv-rid-registry.exe" --data-root "%~dp0."
|
|
) else (
|
|
echo Build first: cargo build --release --locked
|
|
)
|
|
pause
|