An easy-to-host PDS on the ATProtocol, MacOS. Grandma-approved.

feat(MM-143): implement greet IPC command in src-tauri

authored by malpercio.dev and committed by

Tangled 25d7dd5e 36234570

+12 -2
apps/identity-wallet/src-tauri/icons/icon.png

This is a binary file and will not be displayed.

+12 -2
apps/identity-wallet/src-tauri/src/lib.rs
··· 1 - // Stub — greet command and Tauri builder are wired up in Phase 2. 2 - pub fn run() {} 1 + #[tauri::command] 2 + fn greet(name: String) -> String { 3 + format!("Hello, {}!", name) 4 + } 5 + 6 + #[cfg_attr(mobile, tauri::mobile_entry_point)] 7 + pub fn run() { 8 + tauri::Builder::default() 9 + .invoke_handler(tauri::generate_handler![greet]) 10 + .run(tauri::generate_context!()) 11 + .expect("error while running tauri application"); 12 + }