(&self, current: u32, total: u32, message: &str)
| 406 | } |
| 407 | |
| 408 | fn update_progress(&self, current: u32, total: u32, message: &str) { |
| 409 | if let Ok(mut status) = self.status.lock() { |
| 410 | status.progress = Some((current, total)); |
| 411 | status.message = Some(message.to_string()); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | fn start_desktop_build(&mut self) -> Result<(), Box<dyn std::error::Error>> { |
| 416 | self.update_progress(0, 4, "Initializing desktop build..."); |
no outgoing calls
no test coverage detected