mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 09:13:57 +00:00
patching user displayName and profileImageUrl
This commit is contained in:
@@ -106,6 +106,8 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
getVersion: () => ipcRenderer.invoke("getVersion"),
|
||||
getDefaultDownloadsPath: () => ipcRenderer.invoke("getDefaultDownloadsPath"),
|
||||
openExternal: (src: string) => ipcRenderer.invoke("openExternal", src),
|
||||
imagePathToBase64: (filePath: string) =>
|
||||
ipcRenderer.invoke("imagePathToBase64", filePath),
|
||||
showOpenDialog: (options: Electron.OpenDialogOptions) =>
|
||||
ipcRenderer.invoke("showOpenDialog", options),
|
||||
platform: process.platform,
|
||||
|
||||
Reference in New Issue
Block a user