| |
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
| |
pub fn run() {
|
| |
#[cfg(debug_assertions)]
|
| - |
let builder = tauri::Builder::default()
|
| - |
.plugin(tauri_plugin_dialog::init())
|
| - |
.plugin(
|
| - |
tauri_plugin_log::Builder::new()
|
| - |
.level(log::LevelFilter::Info)
|
| - |
.build(),
|
| - |
);
|
| + |
let builder = tauri::Builder::default().plugin(
|
| + |
tauri_plugin_log::Builder::new()
|
| + |
.level(log::LevelFilter::Info)
|
| + |
.build(),
|
| + |
);
|
| |
#[cfg(not(debug_assertions))]
|
| |
let builder = tauri::Builder::default();
|
| |
|
| |
builder
|
| + |
.plugin(tauri_plugin_dialog::init())
|
| |
.plugin(tauri_plugin_shell::init())
|
| |
.plugin(tauri_plugin_clipboard_manager::init())
|
| |
.plugin(tauri_plugin_window_state::Builder::default().build())
|