diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 14eb67b..2261e32 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -1,6 +1,9 @@ // at the top of main.rs - that will prevent the console from showing #![windows_subsystem = "windows"] extern crate image; + +use dirs::download_dir; +use std::path::PathBuf; use tauri_utils::config::{Config, WindowConfig}; use wry::{ application::{ @@ -26,9 +29,6 @@ use wry::application::window::Icon; #[cfg(any(target_os = "linux", target_os = "windows"))] use wry::webview::WebContext; -use dirs::download_dir; -use std::path::PathBuf; - enum UserEvent { DownloadStarted(String, String), DownloadComplete(Option, bool),