2024-07-30 16:21:16 +08:00
|
|
|
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
|
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
|
|
|
|
fn main() {
|
2024-07-30 18:03:06 +08:00
|
|
|
tauri::Builder::default()
|
2024-08-08 03:52:19 +08:00
|
|
|
.invoke_handler(tauri::generate_handler![
|
2024-08-08 11:56:54 +08:00
|
|
|
app::wallpaper::process_wallpaper_image,
|
|
|
|
app::wallpaper::delete_old_wallpaper_image,
|
2024-08-08 03:52:19 +08:00
|
|
|
])
|
2024-07-30 18:03:06 +08:00
|
|
|
.run(tauri::generate_context!())
|
|
|
|
.expect("error while running tauri application");
|
2024-07-30 16:21:16 +08:00
|
|
|
}
|