This commit is contained in:
2026-01-21 14:41:56 +08:00
parent a6125718f5
commit babd0f5615
63 changed files with 47 additions and 19 deletions

View File

@@ -0,0 +1,8 @@
// 原生桌面功能命令
// 未来可能包含: 文件对话框、系统通知、剪贴板等
// 示例命令 (可根据需要删除或替换)
#[tauri::command]
pub fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}