Electron fixes

This commit is contained in:
WardPearce
2026-03-03 02:00:51 +13:00
parent 8576d0acda
commit a4355ab29d
3 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -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",
-1
View File
@@ -85,7 +85,6 @@ ipcMain.handle(
{
url: youtubeUrl,
referrer: youtubeUrl,
userAgent: USER_AGENT
}
);
+1 -1
View File
@@ -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);