reorganized files

This commit is contained in:
2025-12-05 12:50:25 +08:00
parent d9dbd5fe5d
commit a9068fe575
13 changed files with 18 additions and 22 deletions

View File

@@ -5,8 +5,10 @@ use tracing_subscriber;
static APP_HANDLE: std::sync::OnceLock<tauri::AppHandle<tauri::Wry>> = std::sync::OnceLock::new();
mod app;
mod core;
mod models;
mod services;
mod state;
mod utilities;
/// Tauri app handle
pub fn get_app_handle<'a>() -> &'a tauri::AppHandle<tauri::Wry> {
@@ -24,7 +26,7 @@ fn setup_fdoll() -> Result<(), tauri::Error> {
.with_line_number(true)
.init();
core::state::init_fdoll_state();
state::init_fdoll_state();
async_runtime::spawn(async move { app::start_fdoll().await });
Ok(())
}