mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-07-29 08:35:30 +00:00
17 lines
417 B
Rust
17 lines
417 B
Rust
![]() |
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||
|
pub fn run() {
|
||
|
tauri::Builder::default()
|
||
|
.setup(|app| {
|
||
|
if cfg!(debug_assertions) {
|
||
|
app.handle().plugin(
|
||
|
tauri_plugin_log::Builder::default()
|
||
|
.level(log::LevelFilter::Info)
|
||
|
.build(),
|
||
|
)?;
|
||
|
}
|
||
|
Ok(())
|
||
|
})
|
||
|
.run(tauri::generate_context!())
|
||
|
.expect("error while running tauri application");
|
||
|
}
|