Remove unused template code

This commit is contained in:
Sebastian Martinez
2024-08-28 10:50:08 +02:00
committed by Rūdolfs Ošiņš
parent 56046b4355
commit eaee2a9e6a
7 changed files with 0 additions and 139 deletions
-5
View File
@@ -1,14 +1,9 @@
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}!", name)
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_window_state::Builder::default().build())
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}