summarylogtreecommitdiffstats
path: root/uos.patch
diff options
context:
space:
mode:
authorJove Yu2021-02-27 22:14:20 +0800
committerJove Yu2021-02-27 22:14:20 +0800
commit4d01c309d11ce759fe199f31e8f4c7486a0bebc0 (patch)
tree37f3552ca327d84f9060aaff6f284bcf9f5a970f /uos.patch
parentd5ac6db57987880fe5983165b6acba5f0dfd8c09 (diff)
downloadaur-4d01c309d11ce759fe199f31e8f4c7486a0bebc0.tar.gz
test update
Diffstat (limited to 'uos.patch')
-rw-r--r--uos.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/uos.patch b/uos.patch
index b3d5c9f114a..3a3245ca177 100644
--- a/uos.patch
+++ b/uos.patch
@@ -15,7 +15,7 @@ index 51c6169..b5d2101 100644
})
- this.window.loadURL('https://wx.qq.com/?lang=zh_CN')
-+ this.window.loadURL('https://wx.qq.com/?lang=zh_CN&target=t')
++ this.window.loadURL('https://wx2.qq.com/?lang=zh_CN&target=t')
this.window.webContents.on('dom-ready', () => {
this.window.webContents.insertCSS(CssInjector.login)
@@ -31,7 +31,7 @@ index 51c6169..b5d2101 100644
+ let token = execSync('/opt/wechat-uos-token/wechat-uos-token.sh').toString('ascii');
+ if (details.url.indexOf("/cgi-bin/mmwebwx-bin/webwxnewloginpage") > -1) {
+ details.requestHeaders["extspam"] = token
-+ details.requestHeaders["client-version"] = "2.0.0"
++ details.requestHeaders["client-version"] = "8.0.0"
+ callback({
+ requestHeaders: details.requestHeaders,
+ })