Skip to content

Commit

Permalink
Merge pull request #93 from hmlendea/fix
Browse files Browse the repository at this point in the history
Fixed blank white screen for some people
  • Loading branch information
hmlendea authored Nov 17, 2021
2 parents b6bedb8 + 4a0074c commit 833d58a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "geforcenow-electron",
"appId": "com.github.hmlendea.${name}",
"productName": "GeForce NOW",
"version": "1.1.10",
"version": "1.1.10.1",
"description": "A Linux desktop web app for GeForce NOW",
"main": "scripts/main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { app, globalShortcut, BrowserWindow } = require("electron");
const path = require("path");
const userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36";
const userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36";

var isFullScreen = false;

Expand All @@ -11,6 +11,7 @@ function createWindow() {
webPreferences: {
preload: path.join(__dirname, "preload.js"),
contextIsolation: false,
nativeWindowOpen: false
},
});

Expand Down

0 comments on commit 833d58a

Please sign in to comment.