Update branding to General Bots for log and title

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-11-20 13:46:01 -03:00
parent 382a01658d
commit cfbff7f35c

View file

@ -471,7 +471,7 @@ async fn main() -> std::io::Result<()> {
// Give the server thread a moment to start // Give the server thread a moment to start
std::thread::sleep(std::time::Duration::from_millis(500)); std::thread::sleep(std::time::Duration::from_millis(500));
info!("Launching Tauri desktop application..."); info!("Launching General Bots desktop application...");
// Run Tauri on main thread (GUI requires main thread) // Run Tauri on main thread (GUI requires main thread)
let tauri_app = tauri::Builder::default() let tauri_app = tauri::Builder::default()
@ -482,6 +482,7 @@ async fn main() -> std::io::Result<()> {
"main", "main",
tauri::WebviewUrl::App("index.html".into()), tauri::WebviewUrl::App("index.html".into()),
) )
.title("General Bots")
.build() .build()
{ {
Ok(_window) => Ok(()), Ok(_window) => Ok(()),
@ -493,7 +494,7 @@ async fn main() -> std::io::Result<()> {
} }
}) })
.build(tauri::generate_context!()) .build(tauri::generate_context!())
.expect("error while running tauri application"); .expect("error while running Desktop application");
tauri_app.run(|_app_handle, event| match event { tauri_app.run(|_app_handle, event| match event {
tauri::RunEvent::ExitRequested { api, .. } => { tauri::RunEvent::ExitRequested { api, .. } => {