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": { diff --git a/scripts/main.js b/scripts/main.js index d5c4090..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; @@ -11,6 +11,7 @@ function createWindow() { webPreferences: { preload: path.join(__dirname, "preload.js"), contextIsolation: false, + nativeWindowOpen: false }, });