Skip to content

Commit 67904dd

Browse files
committed
feat(auth-social-network): add sandbox webPreferences to window
1 parent 680f9f7 commit 67904dd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "electron-gp",
33
"private": true,
4-
"version": "1.4.1",
4+
"version": "1.4.2",
55
"type": "module",
66
"main": "dist-main/app.js",
77
"author": "traeop",

src/main/auth-social-network/window.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import type { TAuthSocialNetworkTwoFactorProvider } from "./types.js";
2020
title: "",
2121
width: 400,
2222
height: 400,
23+
webPreferences: {
24+
sandbox: true,
25+
},
2326
},
2427
})
2528
export class AuthSocialNetworkWindow implements TWindowManager {

0 commit comments

Comments
 (0)