basic setup to remove @electron/remote

This commit is contained in:
Labhansh Agrawal 2023-07-22 19:27:32 +05:30
parent af41b343e3
commit db2be9fe50
10 changed files with 37 additions and 25 deletions

View file

@ -467,3 +467,10 @@ ipcMain.handle('child_process.exec', (event, command, options) => {
ipcMain.handle('child_process.execFile', (event, file, args, options) => {
return promisify(execFile)(file, args, options);
});
ipcMain.handle('getLoadedPluginVersions', () => getLoadedPluginVersions());
ipcMain.handle('getPaths', () => getPaths());
ipcMain.handle('getBasePaths', () => getBasePaths());
ipcMain.handle('getDeprecatedConfig', () => getDeprecatedConfig());
ipcMain.handle('getDecoratedConfig', (e, profile) => getDecoratedConfig(profile));
ipcMain.handle('getDecoratedKeymaps', () => getDecoratedKeymaps());