feat: user profile

This commit is contained in:
Zamitto 2024-06-11 22:09:24 -03:00
parent 8fad9b05e6
commit a974141360
8 changed files with 77 additions and 0 deletions

View file

@ -125,4 +125,8 @@ contextBridge.exposeInMainWorld("electron", {
},
checkForUpdates: () => ipcRenderer.invoke("checkForUpdates"),
restartAndInstallUpdate: () => ipcRenderer.invoke("restartAndInstallUpdate"),
/* Profile */
getUserProfile: (username: string) =>
ipcRenderer.invoke("getUserProfile", username),
});