feat: adding csp update

This commit is contained in:
Chubby Granny Chaser
2024-12-02 17:10:13 +00:00
parent 5bc424796a
commit 7f600a0cbf
10 changed files with 37 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
import { appVersion, defaultDownloadsPath, isStaging } from "@main/constants";
import { appVersion, defaultDownloadsPath } from "@main/constants";
import { ipcMain } from "electron";
import "./catalogue/get-catalogue";
@@ -72,6 +72,5 @@ import "./misc/show-item-in-folder";
ipcMain.handle("ping", () => "pong");
ipcMain.handle("getVersion", () => appVersion);
ipcMain.handle("isStaging", () => isStaging);
ipcMain.handle("isPortableVersion", () => isPortableVersion());
ipcMain.handle("getDefaultDownloadsPath", () => defaultDownloadsPath);