chore(desktop): integrate tauri-specta (#11740)
This commit is contained in:
parent
c02dd067b2
commit
04aef44fc3
10 changed files with 289 additions and 73 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue