Fix user agent string
This commit is contained in:
parent
0f081bbce5
commit
773aebda93
12
package.json
12
package.json
@ -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"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user