diff --git a/packages/app-lib/src/api/update.rs b/packages/app-lib/src/api/update.rs index fe24ec01..3ca0cebd 100644 --- a/packages/app-lib/src/api/update.rs +++ b/packages/app-lib/src/api/update.rs @@ -18,7 +18,7 @@ pub(crate) async fn get_resource( let bytes = response.bytes().await?; let mut dest_file = AsyncFile::create(&full_path).await?; dest_file.write_all(&bytes).await?; - println!("[AR] • File downloaded to: {:?}", full_path); + tracing::info!("[AR] • File downloaded to: {:?}", full_path); if auto_update_supported { let result = match os_type.to_lowercase().as_str() { @@ -28,8 +28,8 @@ pub(crate) async fn get_resource( }; match result { - Ok(_) => println!("[AR] • File opened successfully!"), - Err(e) => eprintln!("[AR] • Failed to open file: {e}"), + Ok(_) => tracing::info!("[AR] • File opened successfully!"), + Err(e) => tracing::info!("[AR] • Failed to open file: {e}"), } } @@ -44,7 +44,7 @@ async fn handle_windows_file(path: &PathBuf) -> Result<(), Box Result<(), Box