build(tauri): 添加操作系统插件并调整窗口配置

- 在 package.json 和 Cargo.toml 中添加 @tauri-apps/plugin-os 依赖
- 在 default.json 中添加 os:default 权限
- 在 lib.rs 中初始化 tauri_plugin_os
- 在 tauri.conf.json 中设置 hiddenTitle 为 true 并添加 titleBarStyle 为 Overlay
This commit is contained in:
Vixalie
2025-08-04 22:43:57 +08:00
parent 06ea873419
commit 773f6d9f4d
6 changed files with 16 additions and 2 deletions

View File

@@ -18,7 +18,8 @@
"minWidth": 1200,
"minHeight": 800,
"resizable": true,
"hiddenTitle": false,
"hiddenTitle": true,
"titleBarStyle": "Overlay",
"theme": "Dark"
}
],