mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 10:45:57 +00:00
27 lines
748 B
TypeScript
27 lines
748 B
TypeScript
import { log } from 'electron-log/main';
|
|
import { pluginNodeExecutor } from './plugin-node-executor';
|
|
import {
|
|
initAppControlIpc,
|
|
initAppDataIpc,
|
|
initExecIpc,
|
|
initGlobalShortcutsIpc,
|
|
initJiraIpc,
|
|
initSystemIpc,
|
|
} from './ipc-handlers';
|
|
|
|
export const initIpcInterfaces = (): void => {
|
|
// Initialize plugin node executor (registers IPC handlers)
|
|
// This is needed for plugins with nodeExecution permission
|
|
// The constructor automatically sets up the IPC handlers
|
|
log('Initializing plugin node executor');
|
|
if (!pluginNodeExecutor) {
|
|
log('Warning: Plugin node executor failed to initialize');
|
|
}
|
|
|
|
initAppDataIpc();
|
|
initAppControlIpc();
|
|
initSystemIpc();
|
|
initJiraIpc();
|
|
initGlobalShortcutsIpc();
|
|
initExecIpc();
|
|
};
|