release 2.0.2

This commit is contained in:
wonfen 2024-11-27 12:41:51 +08:00
parent 3177ea0f4d
commit 148def4c0f
2 changed files with 19 additions and 7 deletions

View File

@ -1,4 +1,4 @@
## v2.0.1
## v2.0.2
### Notice
@ -7,6 +7,16 @@
- 由于更改了服务安装逻辑Mac/Linux 首次安装需要输入系统密码卸载和安装服务,以后可以丝滑使用 tun(虚拟网卡)模式
- 因 Tauri 2.0 底层 bug关闭窗口后保留webview进程优点是再次打开面板更快缺点是内存使用略有增加
### 2.0.2相对于2.0.1改进了:
- 改进了默认窗口大小(启动软件窗口不会那么小了)
- 改进了WebDAV备份超时时间机制
- 测试菜单添加滚动条
- 改进和修正了Tun模式下对设置的覆盖逻辑
- 修复了打开配置出错的问题
- 修复了配置文件无法拖拽添加的问题
- 改善了浅色模式的对比度
### 2.0.1相对于2.0.0改进了:
- 无法从 2.0rc和2.0.0 升级的问题已经安装了2.0版本的需手动下载安装)

View File

@ -158,7 +158,8 @@ pub fn create_window() {
.decorations(true)
.hidden_title(true)
.title_bar_style(tauri::TitleBarStyle::Overlay)
.min_inner_size(600.0, 520.0)
.inner_size(890.0, 700.0)
.min_inner_size(620.0, 550.0)
.build()
.unwrap();
@ -170,7 +171,8 @@ pub fn create_window() {
)
.title("Clash Verge")
.decorations(false)
.min_inner_size(600.0, 520.0)
.inner_size(890.0, 700.0)
.min_inner_size(620.0, 550.0)
.transparent(true)
.build()
.unwrap();
@ -185,8 +187,8 @@ pub fn create_window() {
{
window.clone().on_window_event(move |_event| {
let _ = window.set_size(tauri::Size::Physical(tauri::PhysicalSize {
width: 800,
height: 642,
width: 890,
height: 700,
}));
});
}
@ -194,8 +196,8 @@ pub fn create_window() {
#[cfg(not(target_os = "windows"))]
window
.set_size(tauri::Size::Physical(tauri::PhysicalSize {
width: 800,
height: 642,
width: 890,
height: 700,
}))
.unwrap();
}