Skip to content

Commit 3c95dbf

Browse files
Change wording of NVIDIA GPU detection error (#1172)
1 parent 50cdd86 commit 3c95dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export async function validateHardware(): Promise<HardwareValidation> {
172172
const res = await execAsync(
173173
'powershell.exe -c "$n = \'*NVIDIA*\'; Get-CimInstance win32_videocontroller | ? { $_.Name -like $n -or $_.VideoProcessor -like $n -or $_.AdapterCompatibility -like $n }"'
174174
);
175-
if (!res?.stdout) throw new Error('No video card');
175+
if (!res?.stdout) throw new Error('No NVIDIA GPU detected');
176176
} catch {
177177
try {
178178
await execAsync('nvidia-smi');

0 commit comments

Comments
 (0)