first commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import {contextBridge, ipcRenderer} from 'electron'
|
||||
|
||||
contextBridge.exposeInMainWorld('_ELECTRON_PRELOAD_UTILS_', {
|
||||
openInBrowser: (url: string) => ipcRenderer.send('open-in-browser', url),
|
||||
});
|
||||
Reference in New Issue
Block a user