refactor(desktop-electron): enable contextIsolation and sandbox (#23523)

This commit is contained in:
Brendan Allan
2026-04-21 12:38:59 +08:00
committed by GitHub
parent 4964ce480c
commit eb9906420f
10 changed files with 55 additions and 54 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export function createMenu(deps: Deps) {
{
label: "New Window",
accelerator: "Cmd+Shift+N",
click: () => createMainWindow({ updaterEnabled: UPDATER_ENABLED }),
click: () => createMainWindow(),
},
{ type: "separator" },
{ role: "close" },