chore: release v0.15.3

This commit is contained in:
晴天
2026-05-13 16:53:47 +08:00
parent d5059949bc
commit c3d25aab62
9 changed files with 23 additions and 30 deletions

View File

@@ -290,20 +290,7 @@ pub fn run() {
})
.build(tauri::generate_context!())
.expect("启动 ClawPanel 失败")
.run(|_app, event| {
if let tauri::RunEvent::Exit = event {
#[cfg(target_os = "windows")]
{
// 退出时关闭 Gateway 终端窗口
use std::os::windows::process::CommandExt;
const CREATE_NO_WINDOW: u32 = 0x08000000;
let _ = std::process::Command::new("taskkill")
.args(["/fi", "WINDOWTITLE eq OpenClaw Gateway"])
.creation_flags(CREATE_NO_WINDOW)
.output();
}
}
});
.run(|_app, _event| {});
}
/// 启动时清理落后版本的热更新目录issue #261