mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-01-30 19:15:17 +01:00
13 lines
402 B
Rust
13 lines
402 B
Rust
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
fn main() {
|
|
let global_runtime = tokio::runtime::Builder::new_multi_thread()
|
|
.worker_threads(32)
|
|
.enable_all()
|
|
.build()
|
|
.unwrap();
|
|
tauri::async_runtime::set(global_runtime.handle().clone());
|
|
drop_app_lib::run()
|
|
}
|