Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(updater): allow larger registry enumeration output
EtienneLescot79ead01d983a
diff --git a/electron/auto-updater.ts b/electron/auto-updater.tsindex 684c5398d..41a0f87b1 100644--- a/electron/auto-updater.ts+++ b/electron/auto-updater.ts@@ -100,6 +100,7 @@ function nsisInstallStatus(hive: "HKLM" | "HKCU"): number | null {const parent = spawnSync("reg", ["query", `${hive}\\Software`, "/reg:64"], {windowsHide: true,encoding: "utf8",+ maxBuffer: 16 * 1024 * 1024,});if (parent.status !== 0) return null;const root = hive === "HKLM" ? "HKEY_LOCAL_MACHINE" : "HKEY_CURRENT_USER";diff --git a/src/hooks/recorderHandle.test.ts b/src/hooks/recorderHandle.test.tsindex c3bf1a33a..8fb7b8105 100644--- a/src/hooks/recorderHandle.test.ts+++ b/src/hooks/recorderHandle.test.ts@@ -255,12 +255,13 @@ describe("createRecorderHandle", () => {finishAppend = resolve;});const closeRecordingStream = vi.fn(async () => ({ success: true }));+ const appendRecordingChunk = vi.fn(async () => {+ await append;+ return { success: true };+ });stubElectronAPI({openRecordingStream: vi.fn(() => open),- appendRecordingChunk: vi.fn(async () => {- await append;- return { success: true };- }),+ appendRecordingChunk,closeRecordingStream,});const handle = createRecorderHandle({} as MediaStream, { mimeType: "video/webm" }, "rec.webm");@@ -274,6 +275,7 @@ describe("createRecorderHandle", () => {finishAppend?.();await discarded;expect(closeRecordingStream).toHaveBeenCalledWith("rec.webm");+ expect(appendRecordingChunk).toHaveBeenCalledWith("rec.webm", expect.anything());driver(handle).stop();await handle.recordedBlobPromise;});