feat: 支持4种OpenBridge主题切换,统一项目命名和端口配置

- 添加 OpenBridge 四种主题切换 (day/bright/dusk/night)
- 实现 DJB2 hash 算法生成项目专用端口 (14323)
- 统一项目名称为 openbridge-token-usage-viewer
- 更新 Tauri 应用名称、sidecar 命名和窗口标题
- 开发服务器端口从 3000 改为基于项目名称的稳定端口
This commit is contained in:
2026-01-22 13:02:43 +08:00
parent d077dfdd90
commit b520cdaf35
10 changed files with 189 additions and 36 deletions

22
src-tauri/Cargo.lock generated
View File

@@ -47,17 +47,6 @@ version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "app-desktop"
version = "0.1.0"
dependencies = [
"serde",
"tauri",
"tauri-build",
"tauri-plugin-shell",
"tokio",
]
[[package]]
name = "atk"
version = "0.18.2"
@@ -2071,6 +2060,17 @@ dependencies = [
"pathdiff",
]
[[package]]
name = "openbridge-token-usage-viewer"
version = "0.1.0"
dependencies = [
"serde",
"tauri",
"tauri-build",
"tauri-plugin-shell",
"tokio",
]
[[package]]
name = "option-ext"
version = "0.2.0"