desktop version (100% AI I have 0 idea what I'm doing with electron tf)

This commit is contained in:
KingKDot
2026-03-21 19:40:05 -05:00
parent dbb7f559b7
commit 0af798471f
17 changed files with 5691 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
const { contextBridge, ipcRenderer } = require("electron");
contextBridge.exposeInMainWorld("overlord", {
getSavedConnection: () => ipcRenderer.invoke("get-saved-connection"),
connectToServer: (opts) => ipcRenderer.invoke("connect-to-server", opts),
goBackToConnect: () => ipcRenderer.invoke("go-back-to-connect"),
});