We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 379a865 commit ffd4aa4Copy full SHA for ffd4aa4
1 file changed
src-tauri/src/lib.rs
@@ -29,19 +29,17 @@ pub fn run() {
29
.plugin(tauri_plugin_opener::init())
30
.plugin(tauri_plugin_shell::init())
31
.plugin(tauri_plugin_dialog::init())
32
+ .plugin(
33
+ tauri_plugin_log::Builder::default()
34
+ .level(log::LevelFilter::Info)
35
+ .build(),
36
+ )
37
.plugin(tauri_plugin_autostart::init(
38
MacosLauncher::LaunchAgent,
39
None,
40
))
41
.invoke_handler(tauri::generate_handler![update_about_window_titlebar_color])
42
.setup(|app| {
- #[cfg(debug_assertions)]
- app.handle().plugin(
- tauri_plugin_log::Builder::default()
- .level(log::LevelFilter::Info)
- .build(),
43
- )?;
44
-
45
app.manage(Mutex::new(AppState::default()));
46
47
_setup_main_window(app.handle());
0 commit comments