Skip to content

Commit

Permalink
Remove CPU mode bypasses hardware validation
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Dec 14, 2024
1 parent c0ebe02 commit 6b828e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ interface HardwareValidation {
*/
export async function validateHardware(): Promise<HardwareValidation> {
try {
if (DesktopConfig.devCpuMode) return { isValid: true, gpu: 'cpu' };

// Only ARM Macs are supported.
if (process.platform === 'darwin') {
const cpu = await si.cpu();
Expand Down

0 comments on commit 6b828e4

Please sign in to comment.