优化终端里的git操作
This commit is contained in:
@@ -2,5 +2,12 @@
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
fn main() {
|
||||
// When called as a git credential helper, handle it immediately and exit.
|
||||
// This avoids starting the full Tauri GUI runtime.
|
||||
if std::env::args().any(|a| a == "--credential-helper") {
|
||||
codeg_lib::git_credential::run_credential_helper();
|
||||
return;
|
||||
}
|
||||
|
||||
codeg_lib::run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user