Disable opening dev tools on launch

This commit is contained in:
WardPearce
2026-01-18 23:21:17 +13:00
parent ca17ffdca3
commit e4c66744ba
-2
View File
@@ -190,8 +190,6 @@ export class ElectronCapacitorApp {
globalShortcut.register('Control+Shift+I', () => {
this.MainWindow.webContents.toggleDevTools();
});
this.MainWindow.webContents.toggleDevTools();
// Security
this.MainWindow.webContents.setWindowOpenHandler((details) => {
shell.openExternal(details.url);