Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

fix(startup): recognize the selected local core as installed (#982)

SkanderBot837366d88f52
diff --git a/src-tauri/src/service/download/installable.rs b/src-tauri/src/service/download/installable.rs
index 9754469e..a44261cc 100644
--- a/src-tauri/src/service/download/installable.rs
+++ b/src-tauri/src/service/download/installable.rs
@@ -123,7 +123,7 @@ impl Installable for Dsh {
config::get_dsh_install_path(app)
}
fn check_installed(&self, app: &AppHandle) -> bool {
- config::get_dsh_binary_path(app).exists()
+ crate::service::core::active_dsh_binary(app).is_file()
}
fn record_mapping(&self, app: &AppHandle) {
// 记录**当前生效的根**而不是清单托管根:随包资源构建(离线包)里用户可以把内核