From 50cf51162f6bfadb868e6ec65c92f8bbf9c39687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 14 Mar 2024 22:45:32 +0200 Subject: [PATCH 1/2] useragent: Version increase --- 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 71b8286..d429073 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dl-desktop", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dl-desktop", - "version": "4.0.0", + "version": "4.0.1", "license": "GPL-3.0", "devDependencies": { "electron": "^29.1.4", diff --git a/package.json b/package.json index 38a1778..26ebdb4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "dl-desktop", "appId": "ro.go.hmlendea.DL-Desktop", "productName": "DL: language lessons", - "version": "4.0.0", + "version": "4.0.1", "description": "An unofficial desktop client for Duolingo", "main": "scripts/main.js", "scripts": { From dce01fd6ebe0c224699d768fcb53753e241bfa05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 14 Mar 2024 22:45:47 +0200 Subject: [PATCH 2/2] useragent: Updated the UA --- scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.js b/scripts/main.js index cc50283..29ae8b7 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -14,7 +14,7 @@ function createWindow () { } }); - mainWindow.webContents.userAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0"; + mainWindow.webContents.userAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0"; mainWindow.loadURL('https://duolingo.com'); }