Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Collect complete GPU details for export reports

webadderall37744b05f66a
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<ExportHardwareInfo> {
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.
}