Merge branch 'rc/v2.0' into feature/refator-process-watcher-and-game-running
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:
Zamitto 2024-06-20 19:59:20 -03:00
commit 7b453852b6
17 changed files with 114 additions and 41 deletions

View file

@ -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);