Initial Headless Functions

This commit is contained in:
Joey Pillunat 2025-10-24 13:01:16 +02:00
parent c3c60efb81
commit 615c5c9edd
5 changed files with 176 additions and 7 deletions

View file

@ -36,12 +36,14 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
//Chromium Check + Download
chromium::start_check(&mut cfg, &exe_dir, state.clone()).await?;
// Webserver im Hintergrund starten
let _server = web_server::start(state.clone(), cfg.server.port).await?;
// Headless Engine starten (Stub → Starting → Ready)
headless::start(state.clone()).await?;
// Main-Thread bleibt bis UI beendet wird (q/ESC)
let _ = ui_thread.join();