feat(installer): 实现游戏安装程序页面

- 添加选择安装目录功能,支持 Windows 默认路径
- 集成 Rust 后端 install_game 命令
- 实现安装进度提示与结果反馈- 移除旧网络工具页面与关于页面
- 更新全局样式配置,引入 daisyUI 主题
- 调整窗口控制栏布局与样式
- 添加 Tauri 插件权限配置 (fs, dialog)
- 升级依赖库并添加系统组件支持
This commit is contained in:
Chaos
2025-11-11 16:16:37 +08:00
parent 514c025caf
commit a09f4a7e6e
72 changed files with 708 additions and 320 deletions

32
package-lock.json generated
View File

@@ -9,7 +9,10 @@
"version": "0.0.1",
"dependencies": {
"@tauri-apps/api": "^2.9.0",
"@tauri-apps/plugin-store": "^2.4.1"
"@tauri-apps/plugin-dialog": "^2.4.2",
"@tauri-apps/plugin-fs": "^2.4.4",
"@tauri-apps/plugin-store": "^2.4.1",
"daisyui": "^5.4.7"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.10",
@@ -1440,6 +1443,24 @@
"node": ">= 10"
}
},
"node_modules/@tauri-apps/plugin-dialog": {
"version": "2.4.2",
"resolved": "https://registry.npmmirror.com/@tauri-apps/plugin-dialog/-/plugin-dialog-2.4.2.tgz",
"integrity": "sha512-lNIn5CZuw8WZOn8zHzmFmDSzg5zfohWoa3mdULP0YFh/VogVdMVWZPcWSHlydsiJhRQYaTNSYKN7RmZKE2lCYQ==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@tauri-apps/api": "^2.8.0"
}
},
"node_modules/@tauri-apps/plugin-fs": {
"version": "2.4.4",
"resolved": "https://registry.npmmirror.com/@tauri-apps/plugin-fs/-/plugin-fs-2.4.4.tgz",
"integrity": "sha512-MTorXxIRmOnOPT1jZ3w96vjSuScER38ryXY88vl5F0uiKdnvTKKTtaEjTEo8uPbl4e3gnUtfsDVwC7h77GQLvQ==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@tauri-apps/api": "^2.8.0"
}
},
"node_modules/@tauri-apps/plugin-store": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/@tauri-apps/plugin-store/-/plugin-store-2.4.1.tgz",
@@ -1533,6 +1554,15 @@
"node": ">= 0.6"
}
},
"node_modules/daisyui": {
"version": "5.4.7",
"resolved": "https://registry.npmmirror.com/daisyui/-/daisyui-5.4.7.tgz",
"integrity": "sha512-2wYO61vTPCXk7xEBgnzLZAYoE0xS5IRLu/GSq0vORpB+cTrtubdx69NnA0loc0exvCY1s2fYL4lGZtFHe2ohNQ==",
"license": "MIT",
"funding": {
"url": "https://github.com/saadeghi/daisyui?sponsor=1"
}
},
"node_modules/debug": {
"version": "4.4.3",
"resolved": "https://registry.npmmirror.com/debug/-/debug-4.4.3.tgz",