Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

use tauri::command(async) on cap_desktop::format_project_name

Ilya897f777d2d51
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 81fa4b906..b268fb7b4 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -3059,9 +3059,9 @@ async fn write_clipboard_string(
.map_err(|e| format!("Failed to write text to clipboard: {e}"))
}
-#[tauri::command]
+#[tauri::command(async)]
#[specta::specta]
-async fn format_project_name(
+fn format_project_name(
template: Option<String>,
target_name: String,
target_kind: String,