From 0d76fc9068e1320f61066d1850c859a7a0b89c71 Mon Sep 17 00:00:00 2001 From: rosetta Date: Fri, 30 Jan 2026 06:14:13 +0200 Subject: [PATCH] fix device name --- lib/main/ipcs/ipcDevice.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/main/ipcs/ipcDevice.ts b/lib/main/ipcs/ipcDevice.ts index d3e7058..dbb29a6 100644 --- a/lib/main/ipcs/ipcDevice.ts +++ b/lib/main/ipcs/ipcDevice.ts @@ -24,7 +24,10 @@ ipcMain.handle('device:name', () => { const cpus = os.cpus(); if (cpus && cpus.length > 0) { const cpuModel = cpus[0].model; - deviceName += cpuModel.replace("Apple", "").replace("Processor", ""); + /** + * Fix device name + */ + deviceName += cpuModel.replace("Apple", "").replace("Processor", "").replace("Silicon", "ARM"); } return deviceName.trim();