mirror of
https://github.com/burrow-dev/burrow-client.git
synced 2026-11-19 01:37:50 -05:00
fix: a game the graphics card keeps from drawing restarts the client without it
This commit is contained in:
1 parent
77be498599
commit
8a1b60ad42
3 files changed
+28
No files matched your search
@@ -13,6 +13,9 @@ contextBridge.exposeInMainWorld("client", {
|
||||
// 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),
|
||||
// the game did not start drawing with the graphics card: it is turned off
|
||||
// (as "Use GPU" would) and the client starts again.
|
||||
gpuFallback: () => ipcRenderer.send("gpuFallback"),
|
||||
setAutoUpdate: on => ipcRenderer.invoke("setAutoUpdate", on),
|
||||
restartToUpdate: () => ipcRenderer.send("restartToUpdate"),
|
||||
// {state: "ready" | "download", version} from updater.js
|
||||
|
||||
Reference in new issue
Block a user