Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update tauri.ts

Richie McIlroy282ba57f241f
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.ts
index efdc6dee6..ef612ec36 100644
--- a/apps/desktop/src/utils/tauri.ts
+++ b/apps/desktop/src/utils/tauri.ts
@@ -289,6 +289,9 @@ async ignoreCameraWindowPosition(durationMs: number) : Promise<null> {
async awaitCameraPreviewReady() : Promise<boolean> {
return await TAURI_INVOKE("await_camera_preview_ready");
},
+async refreshCameraFeed() : Promise<null> {
+ return await TAURI_INVOKE("refresh_camera_feed");
+},
async createDir(path: string, recursive: boolean) : Promise<null> {
return await TAURI_INVOKE("create_dir", { path, recursive });
},