Release version 0.2.6

非活跃连接在 1 分钟内没有活动就会被自动断开;
临时会话被顶替后立即断开连接;
设置界面支持版本控制、github账号管理、Git服务器管理;
增强git凭据处理,现在需要认证时会弹框来支持凭据自动处理。
This commit is contained in:
xintaofei
2026-03-21 15:53:38 +08:00
parent 442f2db647
commit 6e2ae6fb36

View File

@@ -62,11 +62,12 @@ async fn prepare_credential_env(
"GIT_CONFIG_KEY_0".to_string(), "GIT_CONFIG_KEY_0".to_string(),
"credential.helper".to_string(), "credential.helper".to_string(),
); );
// Git parses credential.helper values using shell rules, so paths with // credential.helper values without '!' prefix get "git-credential-" prepended.
// spaces (e.g. "Application Support") must be quoted. // The '!' prefix tells git to run it as a raw shell command.
// Paths with spaces (e.g. "Application Support") must be quoted.
env.insert( env.insert(
"GIT_CONFIG_VALUE_0".to_string(), "GIT_CONFIG_VALUE_0".to_string(),
format!("\"{}\"", helper_path_str), format!("!\"{}\"", helper_path_str),
); );
let files = TerminalCredFiles { let files = TerminalCredFiles {