mirror of
https://github.com/burrow-dev/burrow-client.git
synced 2026-11-18 17:37:50 -05:00
9 lines
276 B
JavaScript
9 lines
276 B
JavaScript
"use strict";
|
|
|
|
const {contextBridge, ipcRenderer} = require("electron");
|
|
|
|
// for the server's /captcha page in its window (main.js): hands the answer back.
|
|
contextBridge.exposeInMainWorld("burrowCaptcha", {
|
|
done: token => ipcRenderer.send("captchaDone", String(token)),
|
|
});
|