| 180 | } |
| 181 | |
| 182 | fn show_platform_setup(&mut self, platform: &str) -> Result<(), Box<dyn std::error::Error>> { |
| 183 | execute!( |
| 184 | stdout(), |
| 185 | Clear(ClearType::All), |
| 186 | cursor::MoveTo(0, 0), |
| 187 | SetForegroundColor(Color::Cyan), |
| 188 | Print(format!("🔧 Setting up {} Platform\n\n", platform)), |
| 189 | )?; |
| 190 | |
| 191 | self.update_progress(0, 1, &format!("Preparing {} environment...", platform)); |
| 192 | thread::sleep(Duration::from_millis(500)); |
| 193 | |
| 194 | Ok(()) |
| 195 | } |
| 196 | |
| 197 | fn render_welcome_screen(&self) -> Result<(), Box<dyn std::error::Error>> { |
| 198 | execute!( |