diff --git a/materialious/electron/package-lock.json b/materialious/electron/package-lock.json index 78a7ffb5..b16c36ec 100644 --- a/materialious/electron/package-lock.json +++ b/materialious/electron/package-lock.json @@ -3120,9 +3120,9 @@ } }, "node_modules/electron": { - "version": "40.6.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-40.6.0.tgz", - "integrity": "sha512-ett8W+yOFGDuM0vhJMamYSkrbV3LoaffzJd9GfjI96zRAxyrNqUSKqBpf/WGbQCweDxX2pkUCUfrv4wwKpsFZA==", + "version": "40.6.1", + "resolved": "https://registry.npmjs.org/electron/-/electron-40.6.1.tgz", + "integrity": "sha512-u9YfoixttdauciHV9Ut9Zf3YipJoU093kR1GSYTTXTAXqhiXI0G1A0NnL/f0O2m2UULCXaXMf2W71PloR6V9pQ==", "dev": true, "hasInstallScript": true, "license": "MIT", diff --git a/materialious/electron/src/index.ts b/materialious/electron/src/index.ts index 2fd3adcb..1d1b6277 100644 --- a/materialious/electron/src/index.ts +++ b/materialious/electron/src/index.ts @@ -85,7 +85,6 @@ ipcMain.handle( { url: youtubeUrl, referrer: youtubeUrl, - userAgent: USER_AGENT } ); diff --git a/materialious/electron/src/setup.ts b/materialious/electron/src/setup.ts index e9089d23..9b3768bc 100644 --- a/materialious/electron/src/setup.ts +++ b/materialious/electron/src/setup.ts @@ -189,7 +189,7 @@ export class ElectronCapacitorApp { } globalShortcut.register('Control+Shift+I', () => { this.MainWindow.webContents.toggleDevTools(); - }); + }); // Security this.MainWindow.webContents.setWindowOpenHandler((details) => { shell.openExternal(details.url);