Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(desktop): regenerate tauri bindings for CLI install
Richie McIlroydb73dce54fb5
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex 9aade3193..79f195870 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -23,6 +23,15 @@ async uploadLogs() : Promise<null> {async getSystemDiagnostics() : Promise<SystemDiagnostics> {return await TAURI_INVOKE("get_system_diagnostics");},+async getCliInstallStatus() : Promise<CliInstallStatus> {+ return await TAURI_INVOKE("get_cli_install_status");+},+async installCli() : Promise<CliInstallStatus> {+ return await TAURI_INVOKE("install_cli");+},+async uninstallCli() : Promise<CliInstallStatus> {+ return await TAURI_INVOKE("uninstall_cli");+},async startRecording(inputs: StartRecordingInputs) : Promise<RecordingAction> {return await TAURI_INVOKE("start_recording", { inputs });},@@ -501,6 +510,12 @@ export type CaptureDisplay = { id: DisplayId; name: string; refresh_rate: numberexport type CaptureDisplayWithThumbnail = { id: DisplayId; name: string; refresh_rate: number; thumbnail: string | null }export type CaptureWindow = { id: WindowId; owner_name: string; name: string; bounds: LogicalBounds; refresh_rate: number; bundle_identifier: string | null }export type CaptureWindowWithThumbnail = { id: WindowId; owner_name: string; name: string; bounds: LogicalBounds; refresh_rate: number; thumbnail: string | null; app_icon: string | null; bundle_identifier: string | null }+export type CliInstallStatus = { installDir: string; shimPath: string; targetPath: string; installed: boolean; onPath: boolean; conflict: string | null; pathEntry: string; shellCommand: string;+/**+ * Whether the install dir is persisted to the user's shell PATH config (profile/registry),+ * so `cap` will be available in a new terminal even though it is not on the current PATH.+ */+pathConfigured: boolean }export type ClickSpringConfig = { tension: number; mass: number; friction: number }export type ClipConfiguration = { index: number; offsets: ClipOffsets }export type ClipOffsets = { camera?: number; mic?: number; system_audio?: number }