feat/getting-started-and-navbar

This commit is contained in:
Abdullah Umar 2024-02-18 11:02:18 +05:00
parent c503bc8a2b
commit 29320c475e
9 changed files with 555 additions and 75 deletions

10
main/preload.js Normal file
View file

@ -0,0 +1,10 @@
const { contextBridge, ipcRenderer } = require("electron");
contextBridge.exposeInMainWorld("electronAPI", {
on: (channel, callback) => {
ipcRenderer.on(channel, callback);
},
send: (channel, args) => {
ipcRenderer.send(channel, args);
}
});