Skip to content

Commit

Permalink
Merge pull request #14 from Lukewh/latest-user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukewh authored Sep 7, 2022
2 parents fea0329 + d5e4e31 commit 1f86765
Show file tree
Hide file tree
Showing 4 changed files with 339 additions and 377 deletions.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const createWindow = () => {
icon: `${__dirname}/gather-logo.svg`,
webPreferences: {
preload: path.join(__dirname, "preload.js"),
nodeIntegration: true,
},
show: false,
backgroundColor: "rgb(40, 45, 78)",
Expand All @@ -33,7 +34,7 @@ const createWindow = () => {
policy: "same-origin",
},
userAgent:
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.5195.102 Safari/537.36",
});

mainWindow.once("ready-to-show", () => {
Expand Down
Loading

0 comments on commit 1f86765

Please sign in to comment.