Initial Headless Functions
This commit is contained in:
parent
c3c60efb81
commit
615c5c9edd
5 changed files with 176 additions and 7 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue