[chore] update electron to v25

This commit is contained in:
MathieuG-P
2023-07-16 21:59:11 +02:00
parent 3c3ff65c5e
commit 3556da8f24
3 changed files with 9 additions and 14 deletions
+1 -6
View File
@@ -7,7 +7,7 @@
* `./src/main.js` using webpack. This gives us some performance wins.
*/
import path from "path";
import { app, ipcMain, protocol } from "electron";
import { app, ipcMain } from "electron";
import log from "electron-log";
import "./ipcs";
import { WindowManagerService } from "./services/window-manager.service";
@@ -96,11 +96,6 @@ if (!gotTheLock) {
DeepLinkService.getInstance().dispatchLinkOpened(deepLink);
}
protocol.registerFileProtocol("file", (request, callback) => {
const pathname = decodeURI(request.url.replace("file:///", ""));
callback(pathname);
});
BSLauncherService.getInstance().restoreSteamVR();
// Log renderer errors