14 lines
460 B
Rust
14 lines
460 B
Rust
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
|
#![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()
|
|
}
|