mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding translation for button
This commit is contained in:
parent
cbbe6993bd
commit
a121ef77c0
21 changed files with 176 additions and 62 deletions
|
@ -150,6 +150,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
/* Hardware */
|
||||
getDiskFreeSpace: (path: string) =>
|
||||
ipcRenderer.invoke("getDiskFreeSpace", path),
|
||||
checkFolderWritePermission: (path: string) =>
|
||||
ipcRenderer.invoke("checkFolderWritePermission", path),
|
||||
|
||||
/* Cloud save */
|
||||
uploadSaveGame: (
|
||||
|
@ -226,6 +228,7 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.invoke("showOpenDialog", options),
|
||||
showItemInFolder: (path: string) =>
|
||||
ipcRenderer.invoke("showItemInFolder", path),
|
||||
getFeatures: () => ipcRenderer.invoke("getFeatures"),
|
||||
platform: process.platform,
|
||||
|
||||
/* Auto update */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue