后端代码优化

This commit is contained in:
xintaofei
2026-03-29 18:55:47 +08:00
parent 080a16f26c
commit a7f628ee21
10 changed files with 39 additions and 7 deletions

View File

@@ -6,9 +6,13 @@ use tauri::Manager;
use tauri::State;
use crate::git_credential;
#[cfg(feature = "tauri-runtime")]
use crate::terminal::error::TerminalError;
#[cfg(feature = "tauri-runtime")]
use crate::terminal::manager::{SpawnOptions, TerminalManager};
#[cfg(feature = "tauri-runtime")]
use crate::terminal::types::TerminalInfo;
#[cfg(feature = "tauri-runtime")]
use crate::web::event_bridge::EventEmitter;
/// Build extra env vars for the terminal session.