From 442f2db647b6547f7225bbca6a3fd1c83a7a3e45 Mon Sep 17 00:00:00 2001 From: xintaofei Date: Sat, 21 Mar 2026 15:51:51 +0800 Subject: [PATCH] Release version 0.2.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 非活跃连接在 1 分钟内没有活动就会被自动断开; 临时会话被顶替后立即断开连接; 设置界面支持版本控制、github账号管理、Git服务器管理; 增强git凭据处理,现在需要认证时会弹框来支持凭据自动处理。 --- src-tauri/src/commands/terminal.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/commands/terminal.rs b/src-tauri/src/commands/terminal.rs index d2dfc7b..07e2e1a 100644 --- a/src-tauri/src/commands/terminal.rs +++ b/src-tauri/src/commands/terminal.rs @@ -62,9 +62,11 @@ async fn prepare_credential_env( "GIT_CONFIG_KEY_0".to_string(), "credential.helper".to_string(), ); + // Git parses credential.helper values using shell rules, so paths with + // spaces (e.g. "Application Support") must be quoted. env.insert( "GIT_CONFIG_VALUE_0".to_string(), - helper_path_str, + format!("\"{}\"", helper_path_str), ); let files = TerminalCredFiles {