Skip to content

Commit

Permalink
chore: TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Aug 5, 2024
1 parent 1956606 commit 19e13ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Electron/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import log from "electron-log";
log.info("PRELOAD");
/** Load bridges between the main and renderer processes when the preload process is first loaded */
process.once("loaded", () => {
// TODO: The "loaded" state is never executed for some reason
console.log("PRELOAD LOADED");
// TODO: "module" stuff is working but this "loaded" state is never finished
log.info("PRELOAD LOADED");
contextBridge.exposeInMainWorld("electronAPI", {
setConfig: (config) => ipcRenderer.send("setConfig", config),
Expand Down

0 comments on commit 19e13ba

Please sign in to comment.