mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding csp update
This commit is contained in:
parent
5bc424796a
commit
7f600a0cbf
10 changed files with 37 additions and 53 deletions
|
@ -15,6 +15,7 @@ import type {
|
|||
import type { CatalogueCategory } from "@shared";
|
||||
import type { AxiosProgressEvent } from "axios";
|
||||
import { GameAchievement } from "@main/entity";
|
||||
import { isStaging } from "@main/constants";
|
||||
|
||||
contextBridge.exposeInMainWorld("electron", {
|
||||
/* Torrenting */
|
||||
|
@ -198,7 +199,7 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ping: () => ipcRenderer.invoke("ping"),
|
||||
getVersion: () => ipcRenderer.invoke("getVersion"),
|
||||
getDefaultDownloadsPath: () => ipcRenderer.invoke("getDefaultDownloadsPath"),
|
||||
isStaging: () => ipcRenderer.invoke("isStaging"),
|
||||
isStaging,
|
||||
isPortableVersion: () => ipcRenderer.invoke("isPortableVersion"),
|
||||
openExternal: (src: string) => ipcRenderer.invoke("openExternal", src),
|
||||
openCheckout: () => ipcRenderer.invoke("openCheckout"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue