chore(desktop): integrate tauri-specta (#11740)

This commit is contained in:
Brendan Allan 2026-02-02 15:58:08 +08:00 committed by GitHub
commit 04aef44fc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 289 additions and 73 deletions

View file

@ -51,6 +51,7 @@ fn is_cli_installed() -> bool {
const INSTALL_SCRIPT: &str = include_str!("../../../../install");
#[tauri::command]
#[specta::specta]
pub fn install_cli(app: tauri::AppHandle) -> Result<String, String> {
if cfg!(not(unix)) {
return Err("CLI installation is only supported on macOS & Linux".to_string());