From 570d5472a09b10a085970db0caa28d3952e41ebf Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Fri, 11 Sep 2026 18:22:09 +1000 Subject: [PATCH] Collect complete GPU details for export reports --- electron/ipc/export/native-video.test.ts | 1 + electron/ipc/export/native-video.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/electron/ipc/export/native-video.test.ts b/electron/ipc/export/native-video.test.ts index a55ddbd2..9f1245cc 100644 --- a/electron/ipc/export/native-video.test.ts +++ b/electron/ipc/export/native-video.test.ts @@ -459,6 +459,7 @@ describe("export hardware diagnostics", () => { const hardware = await getExportHardwareInfo(); + expect(electronAppMock.getGPUInfo).toHaveBeenCalledWith("complete"); expect(hardware).toMatchObject({ platform: process.platform, arch: process.arch, diff --git a/electron/ipc/export/native-video.ts b/electron/ipc/export/native-video.ts index f01351b5..4c91d6d7 100644 --- a/electron/ipc/export/native-video.ts +++ b/electron/ipc/export/native-video.ts @@ -1957,7 +1957,7 @@ export async function getExportHardwareInfo(): Promise { gpus: [], }; try { - sanitizedGpuInfo = sanitizeExportGpuInfo(await app.getGPUInfo("basic")); + sanitizedGpuInfo = sanitizeExportGpuInfo(await app.getGPUInfo("complete")); } catch { // Hardware diagnostics are best effort and must not affect exporting. }