fix: cannot access nativeTheme via electron.remote (#20938)
This commit is contained in:
parent
ee7ce3954a
commit
01e18c2fc3
3 changed files with 6 additions and 4 deletions
|
@ -42,6 +42,7 @@ ipcMain.on('message', function (event, ...args) {
|
|||
event.sender.send('message', ...args)
|
||||
})
|
||||
|
||||
ipcMain.handle('get-modules', () => Object.keys(electron))
|
||||
ipcMain.handle('get-temp-dir', () => app.getPath('temp'))
|
||||
ipcMain.handle('ping', () => null)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue