Fix user agent string

This commit is contained in:
Michael Peters 2022-02-24 18:58:23 -06:00
parent 0f081bbce5
commit 773aebda93
2 changed files with 1 additions and 13 deletions

View File

@ -20,18 +20,6 @@
"chokidar": "^3.5.3",
"graceful-fs": "^4.2.9"
},
"iohook": {
"targets": [
"node-102",
"electron-101"
],
"platforms": [
"linux"
],
"arches": [
"x64"
]
},
"devDependencies": {
"electron": "^17.1.0",
"electron-builder": "^22.14.13"

View File

@ -49,9 +49,9 @@
<webview
id="discord"
enableremotemodule="false"
webpreferences="useragent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"
partition="persist:discord"
src="https://discord.com/login"
useragent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"
></webview>
</div>