mirror of
https://github.com/burrow-dev/burrow-client.git
synced 2026-11-19 01:37:50 -05:00
Client 1.3.0: sends one-way hashes of the device's ids at sign-in and sign-up (device.js), for the server's hardware bans; says when the server needs a newer client, and when a device is banned
This commit is contained in:
1 parent
87695c3250
commit
a2b70affcc
5 files changed
+212
-12
No files matched your search
@@ -8,6 +8,8 @@ contextBridge.exposeInMainWorld("client", {
|
||||
useServer: (serverUrl, gamePort, gameHost) => ipcRenderer.invoke("useServer", serverUrl, gamePort, gameHost),
|
||||
// one of the server's /api calls ("status", "register", "ban"): {status, body, ms}.
|
||||
api: (serverUrl, call, body) => ipcRenderer.invoke("api", serverUrl, call, body),
|
||||
// hashes of this computer's ids, for the server's sign-in (device.js).
|
||||
device: () => ipcRenderer.invoke("device"),
|
||||
// the server's captcha ("login" or "signup") in a window of its own: its answer, or "" when there is none.
|
||||
captcha: (serverUrl, action) => ipcRenderer.invoke("captcha", serverUrl, action),
|
||||
setGpu: on => ipcRenderer.invoke("setGpu", on),
|
||||
|
||||
Reference in new issue
Block a user