Collect complete GPU details for export reports

This commit is contained in:
webadderall
2026-09-11 18:22:09 +10:00
parent 0b1b2596bb
commit 570d5472a0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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,
+1 -1
View File
@@ -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.
}