Skip to content

Build your personal knowledge base with Trilium Notes

chore(desktop): disable dev tools for the print window

Elian Doran43be0a1a3fb4
diff --git a/apps/server/src/services/window.ts b/apps/server/src/services/window.ts
index 13cfee2818..a3a3209c35 100644
--- a/apps/server/src/services/window.ts
+++ b/apps/server/src/services/window.ts
@@ -167,6 +167,7 @@ async function getBrowserWindowForPrinting(e: IpcMainEvent, notePath: string, ac
nodeIntegration: true,
contextIsolation: false,
offscreen: true,
+ devTools: false,
session: e.sender.session
},
});