From 6bc22580146c4b4bd650329f558479e3286ebb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Wed, 17 Nov 2021 12:05:42 +0200 Subject: [PATCH 1/3] Electron15 fix blank screen --- scripts/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/main.js b/scripts/main.js index d5c4090..117e3cc 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -11,6 +11,7 @@ function createWindow() { webPreferences: { preload: path.join(__dirname, "preload.js"), contextIsolation: false, + nativeWindowOpen: false }, }); From f893eb57640395335a4dcd059dd767955cc814f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Wed, 17 Nov 2021 12:06:23 +0200 Subject: [PATCH 2/3] Updated the user agent --- scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.js b/scripts/main.js index 117e3cc..e5709d8 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -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; From 4a0074ca52aa0e1b6d97a95b7d5652222c910e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Wed, 17 Nov 2021 12:11:36 +0200 Subject: [PATCH 3/3] Version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 07d2c42..05c8e3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "geforcenow-electron", - "version": "1.1.10", + "version": "1.1.10.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "geforcenow-electron", - "version": "1.1.10", + "version": "1.1.10.1", "license": "GPL-3.0", "devDependencies": { "electron": "^15.3.0", diff --git a/package.json b/package.json index ab42a8e..fe1b8ef 100644 --- a/package.json +++ b/package.json @@ -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": {