MTP migration

This commit is contained in:
Alex Emmet 2026-07-03 17:57:31 +02:00
commit 18817bdad4
7 changed files with 123 additions and 425 deletions

View file

@ -1,10 +1,8 @@
mod notifications;
mod server;
mod sql;
mod transport;
mod util;
use crate::notifications::tauri;
use crate::sql::sql::initialize_db;
use crate::sql::sql::print_users;
use crate::transport::omikron_connection;
@ -53,13 +51,6 @@ async fn main() {
}
});
let tauri_handle = tokio::spawn(async move {
match tauri::start(9189).await {
Err(e) => log_err!(0, PrintType::General, "{:?}", e),
_ => {}
}
});
log!("Started");
log!(" .env");
if let Err(e) = initialize_db().await {
@ -94,5 +85,4 @@ async fn main() {
}
omikron_handle.abort();
tauri_handle.abort();
}