mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'rc/v2.0' into feature/refator-process-watcher-and-game-running
Some checks failed
Lint / lint (push) Has been cancelled
Some checks failed
Lint / lint (push) Has been cancelled
# Conflicts: # src/locales/en/translation.json # src/locales/pt/translation.json # src/renderer/src/app.tsx # src/renderer/src/pages/user/user-content.tsx
This commit is contained in:
commit
7b453852b6
17 changed files with 114 additions and 41 deletions
|
@ -142,6 +142,7 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
|
||||
/* Auth */
|
||||
signOut: () => ipcRenderer.invoke("signOut"),
|
||||
openAuthWindow: () => ipcRenderer.invoke("openAuthWindow"),
|
||||
onSignIn: (cb: () => void) => {
|
||||
const listener = (_event: Electron.IpcRendererEvent) => cb();
|
||||
ipcRenderer.on("on-signin", listener);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue