@mytec: iter2.2 start
This commit is contained in:
@@ -3,6 +3,7 @@ const { contextBridge, ipcRenderer } = require('electron');
|
||||
contextBridge.exposeInMainWorld('rfcp', {
|
||||
// System info
|
||||
getDataPath: () => ipcRenderer.invoke('get-data-path'),
|
||||
getLogPath: () => ipcRenderer.invoke('get-log-path'),
|
||||
getAppVersion: () => ipcRenderer.invoke('get-app-version'),
|
||||
getPlatform: () => ipcRenderer.invoke('get-platform'),
|
||||
getGpuInfo: () => ipcRenderer.invoke('get-gpu-info'),
|
||||
|
||||
Reference in New Issue
Block a user