Load files when in args

This commit is contained in:
2025-06-08 14:44:54 -05:00
parent 8b01314f43
commit 5b62163c4e
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ contextBridge.exposeInMainWorld('electron', {
chrome: () => process.versions.chrome,
electron: () => process.versions.electron,
});
contextBridge.exposeInMainWorld('main', {
onMenuActions: (callback) => ipcRenderer.on('menu-actions', (_event, action) => callback(action)),
});