Удалить неправильный коммент
This commit is contained in:
@@ -2,10 +2,7 @@ import { ipcMain } from "electron";
|
||||
import os from "os";
|
||||
import {machineId} from 'node-machine-id';
|
||||
|
||||
/**
|
||||
* Consturct device name.
|
||||
* Ex: Macbook Pro M3
|
||||
*/
|
||||
|
||||
ipcMain.handle('device:name', () => {
|
||||
const type = os.type(); // 'Darwin', 'Windows_NT', 'Linux'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user