Rain 1 mese fa
parent
commit
2655f4fc12
1 ha cambiato i file con 0 aggiunte e 10 eliminazioni
  1. 0 10
      client_html/src/main.rs

+ 0 - 10
client_html/src/main.rs

@@ -1,14 +1,9 @@
 // Prevents additional console window on Windows in release, DO NOT REMOVE!!
 #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
 
-// fn main() {
-//   app_lib::run();
-// }
-
 fn main() {
     tauri::Builder::default()
         .invoke_handler(tauri::generate_handler![
-            greet,
             receive_messages,
             send_message
         ])
@@ -16,11 +11,6 @@ fn main() {
         .expect("error while running tauri application");
 }
 
-#[tauri::command]
-fn greet(name: &str) -> String {
-    format!("Hello, {}!", name)
-}
-
 #[tauri::command]
 fn receive_messages(hostname: &str, password: &str) -> Vec<(u128, String, String, String)> {
     let msges = client_shared::utils::rx_messages(hostname, password, 2);