Skip to content

Commit

Permalink
Set affinity to force child windows to use the same render process as…
Browse files Browse the repository at this point in the history
… the parent
  • Loading branch information
roggenbrot committed Mar 2, 2021
1 parent b025bf9 commit 1638056
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "owatron",
"productName": "owatron",
"version": "0.4.5",
"version": "0.4.6",
"description": "Linux Desktop App for Outlook Web App",
"main": "main-process.js",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions src/main-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function createMainWindow() {
spellcheck: true,
nativeWindowOpen: true,
contextIsolation: true,
affinity: "owatron",
// nodeIntegration: true,
preload: path.join(__dirname, "owa-preload.js")
}
Expand Down Expand Up @@ -111,6 +112,7 @@ function createMainWindow() {
spellcheck: true,
// contextIsolation: true,
nativeWindowOpen: true,
affinity: "owatron",
// nodeIntegration: true,
preload: path.join(__dirname, "owa-preload.js")
}
Expand Down

0 comments on commit 1638056

Please # to comment.