refactor(tauri): 移除持久化存储和HTTP插件优化应用架构
- 移除了 tauri-plugin-persisted-scope 和 tauri-plugin-http 插件依赖 - 从桌面功能权限中移除了文件系统和HTTP访问权限 - 删除了相关的存储键常量定义 - 修改悬浮列表窗口创建逻辑,移除页面类型参数和动态计算功能 - 主窗口配置调整为非透明背景并设置白色背景色 - 移除了前端悬浮列表中互动课堂和智评会议相关功能组件 - 更新Cargo.lock移除相关依赖包确保构建一致性
This commit is contained in:
@ -27,7 +27,7 @@ prod_150_8080 = []
|
||||
[dependencies]
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = { version = "1.0.149", features = ["raw_value"] }
|
||||
tauri-plugin-persisted-scope = "2.3.5"
|
||||
# tauri-plugin-persisted-scope = "2.3.5" # 已禁用,因为需要 fs 权限
|
||||
log = "0.4.29"
|
||||
tauri = { version = "2.10.2", features = [
|
||||
"macos-private-api",
|
||||
@ -38,8 +38,6 @@ tauri = { version = "2.10.2", features = [
|
||||
] }
|
||||
tauri-plugin-os = "2.3.2"
|
||||
tauri-plugin-dialog = "2.6.0"
|
||||
tauri-plugin-fs = "2.4.5"
|
||||
tauri-plugin-http = "2.5.7"
|
||||
tauri-plugin-process = "2.3.1"
|
||||
tauri-plugin-websocket = "2.4.2"
|
||||
rodio = "0.22.1"
|
||||
@ -51,20 +49,7 @@ tokio-cron-scheduler = "0.15.1"
|
||||
tracing = "0.1.44"
|
||||
thiserror = "2.0.18"
|
||||
bytes = "1.11.1"
|
||||
|
||||
# Linux 平台依赖:获取工作区尺寸
|
||||
# [target.'cfg(target_os = "linux")'.dependencies]
|
||||
# x11-dl = "2.21"
|
||||
|
||||
# macOS 平台依赖
|
||||
# [target.'cfg(target_os = "macos")'.dependencies]
|
||||
# objc2 = "0.6"
|
||||
# objc2-foundation = "0.3"
|
||||
# objc2-app-kit = "0.3"
|
||||
|
||||
# Windows 平台依赖
|
||||
# [target.'cfg(target_os = "windows")'.dependencies]
|
||||
# windows = { version = "0.58", features = ["Win32_UI_WindowsAndMessaging", "Win32_Foundation"] }
|
||||
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-updater = "2.10.0"
|
||||
|
||||
Reference in New Issue
Block a user