Sandbox stream views

This commit is contained in:
Max Goodhart
2020-06-19 21:55:56 -07:00
parent 5c46a94625
commit 31ff123866
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ async function main() {
} else if (msg.type === 'browse') {
if (!browseWindow || browseWindow.isDestroyed()) {
browseWindow = new BrowserWindow({
webPreferences: { partition: 'persist:session' },
webPreferences: { partition: 'persist:session', sandbox: true },
})
}
browseWindow.loadURL(msg.url)