summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJove Yu2021-02-27 22:14:20 +0800
committerJove Yu2021-02-27 22:14:20 +0800
commit4d01c309d11ce759fe199f31e8f4c7486a0bebc0 (patch)
tree37f3552ca327d84f9060aaff6f284bcf9f5a970f
parentd5ac6db57987880fe5983165b6acba5f0dfd8c09 (diff)
downloadaur-freechat-uos.tar.gz
test update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--uos.patch4
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3bf39ff5a04..25e4977c20f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = freechat-uos
pkgdesc = 致力于打造macOS和Linux桌面下最好用的微信客户端。(添加UOS补丁)
pkgver = 1.0.0
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/eNkru/freechat
arch = x86_64
license = MIT
@@ -15,7 +15,7 @@ pkgbase = freechat-uos
source = freechat.desktop
md5sums = 0213ce4ef07b329b811af3498d851967
md5sums = 561878f3933e289360ac860bdc1e3889
- md5sums = 5e4390b5227c9ecb2706fdcb927a943f
+ md5sums = 6e375ad87c9dbdc367a81fa70cae3e5e
md5sums = 64faa178571d2f8871b3e021024dc009
pkgname = freechat-uos
diff --git a/PKGBUILD b/PKGBUILD
index cf16d298d4d..027f15db9d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=freechat-uos
url="https://github.com/eNkru/freechat"
pkgver=1.0.0
-pkgrel=6
+pkgrel=7
pkgdesc="致力于打造macOS和Linux桌面下最好用的微信客户端。(添加UOS补丁)"
arch=("x86_64")
license=("MIT")
@@ -18,7 +18,7 @@ source=(
)
md5sums=('0213ce4ef07b329b811af3498d851967'
'561878f3933e289360ac860bdc1e3889'
- '5e4390b5227c9ecb2706fdcb927a943f'
+ '6e375ad87c9dbdc367a81fa70cae3e5e'
'64faa178571d2f8871b3e021024dc009')
build() {
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,
+ })