7 lines
227 B
Rust
7 lines
227 B
Rust
#[tauri::command]
|
|
pub async fn list_system_fonts() -> Result<Vec<String>, String> {
|
|
tauri::async_runtime::spawn_blocking(|| Ok(dbx_core::jdbc::list_system_fonts()))
|
|
.await
|
|
.map_err(|err| err.to_string())?
|
|
}
|