aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVufa2022-07-21 23:32:30 +0800
committerVufa2022-07-21 23:32:30 +0800
commit0124f388b91c52386b24b3d8ac424a89a1ea7a88 (patch)
treed4c723158bc0b8893fc5b2789f932dc0305cbf03
parent259fc0775dcec4d9a40ceebccbaa11b8c4582b26 (diff)
downloadaur-0124f388b91c52386b24b3d8ac424a89a1ea7a88.tar.gz
Upgrade WeChat to '3.7.5.23' and disabled 'wechatplayer.exe'
Signed-off-by: Vufa <countstarlight@gmail.com>
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
-rw-r--r--README.md3
-rw-r--r--reg.patch11
-rwxr-xr-xrun.sh2
5 files changed, 28 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 061bcbd8f018..fe005ad13e33 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = deepin-wine-wechat
pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
- pkgver = 3.7.0.30
+ pkgver = 3.7.5.23
pkgrel = 1
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
@@ -21,14 +21,16 @@ pkgbase = deepin-wine-wechat
optdepends = lib32-nvidia-utils: required for nvidia graphics card
conflicts = deepin-wechat
source = https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.qq.weixin.deepin/com.qq.weixin.deepin_3.4.0.38deepin6_i386.deb
- source = WeChatSetup-3.7.0.30.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
+ source = WeChatSetup-3.7.5.23.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
source = https://community-packages.deepin.com/deepin/pool/main/o/openldap/libldap-2.4-2_2.4.47+dfsg.4-1+eagle_i386.deb
source = https://community-packages.deepin.com/deepin/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.27.1-1+dde_i386.deb
source = run.sh
+ source = reg.patch
md5sums = 6c4edb108a0593bab7a556a6c9e8a012
- md5sums = f051ff988f36b1c9e2ba3b98cebbc7b6
+ md5sums = 86851da540577bb4e994cfc076a5776a
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 89b10711889f52ab0a386f37b4eb3212
- md5sums = ee2e2e42860b29eb74ec893e8cdfab60
+ md5sums = 464e8be12ba7037671f648f0b7839b12
+ md5sums = 05b05416ef1fa4e1baaf64736e15a057
pkgname = deepin-wine-wechat
diff --git a/PKGBUILD b/PKGBUILD
index 2bb56ba65f70..cbbd728d5b3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Vufa <countstarlight@gmail.com>
pkgname=deepin-wine-wechat
-pkgver=3.7.0.30
+pkgver=3.7.5.23
wechat_installer=WeChatSetup
deepinwechatver=3.4.0.38deepin6
debpkgname="com.qq.weixin.deepin"
@@ -21,12 +21,14 @@ source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${deepinw
"${wechat_installer}-${pkgver}.exe::https://dldir1.qq.com/weixin/Windows/${wechat_installer}.exe"
"$_mirror_lib/o/openldap/libldap-2.4-2_2.4.47+dfsg.4-1+eagle_i386.deb"
"$_mirror_lib/c/cyrus-sasl2/libsasl2-2_2.1.27.1-1+dde_i386.deb"
- "run.sh")
+ "run.sh"
+ "reg.patch")
md5sums=('6c4edb108a0593bab7a556a6c9e8a012'
- 'f051ff988f36b1c9e2ba3b98cebbc7b6'
+ '86851da540577bb4e994cfc076a5776a'
'cf87ad9db0bf279ddf9e5c1dce64a716'
'89b10711889f52ab0a386f37b4eb3212'
- 'ee2e2e42860b29eb74ec893e8cdfab60')
+ '464e8be12ba7037671f648f0b7839b12'
+ '05b05416ef1fa4e1baaf64736e15a057')
build() {
msg "Extracting DPKG package ..."
@@ -44,8 +46,8 @@ build() {
7z x -aoa "${srcdir}/dpkgdir/opt/apps/${debpkgname}/files/files.7z" -o"${srcdir}/deepinwechatdir"
msg "Cleaning up the original package directory ..."
rm -r "${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/WeChat"
- #msg "Patching reg files ..."
- #patch -p1 -d "${srcdir}/deepinwechatdir/" < "${srcdir}/reg.patch"
+ msg "Patching reg files ..."
+ patch -p1 -d "${srcdir}/deepinwechatdir/" < "${srcdir}/reg.patch"
msg "Creating font file link ..."
ln -sf "/usr/share/fonts/wenquanyi/wqy-microhei/wqy-microhei.ttc" "${srcdir}/deepinwechatdir/drive_c/windows/Fonts/wqy-microhei.ttc"
msg "Copying latest WeChat installer to ${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/ ..."
diff --git a/README.md b/README.md
index 24b3b652ac29..d05d6623065c 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<img src="https://img.shields.io/github/workflow/status/vufa/deepin-wine-wechat-arch/CI/action?logo=github&style=flat-square">
</a>
<a href="https://pc.weixin.qq.com/">
- <img src="https://img.shields.io/badge/WeChat-3.7.0.30-blue?style=flat-square&logo=wechat" alt="WeChat Version">
+ <img src="https://img.shields.io/badge/WeChat-3.7.5.23-blue?style=flat-square&logo=wechat" alt="WeChat Version">
</a>
<a href="https://aur.archlinux.org/packages/deepin-wine-wechat/">
<img src="https://img.shields.io/aur/version/deepin-wine-wechat?label=AUR&logo=arch-linux&style=flat-square" alt="AUR Version">
@@ -269,6 +269,7 @@ DEEPIN_WINE_SCALE=1.25
<details open>
<summary>2022</summary>
+* 2022-07-21 WeChat-3.7.5.23
* 2022-06-09 WeChat-3.7.0.30
* 2022-06-02 WeChat-3.7.0.29
* 2022-03-20 WeChat-3.6.0.18 3.4.0.38deepin6
diff --git a/reg.patch b/reg.patch
new file mode 100644
index 000000000000..12dd66a8f83c
--- /dev/null
+++ b/reg.patch
@@ -0,0 +1,11 @@
+diff -ruN reg_tmp/user.reg reg_tmp_fixed/user.reg
+--- reg_tmp/user.reg 2022-02-17 09:42:03.000000000 +0800
++++ reg_tmp_fixed/user.reg 2022-07-21 23:09:44.174122163 +0800
+@@ -794,6 +794,7 @@
+ "txupd.exe"=""
+ "usp10"="native,builtin"
+ "wechatupdate.exe"=""
++"wechatplayer.exe"=""
+
+ [Software\\Wine\\Drivers\\winepulse.drv] 1591000018
+ #time=1d637ee6a5a1faa
diff --git a/run.sh b/run.sh
index 010f44a313e9..0c25aff85153 100755
--- a/run.sh
+++ b/run.sh
@@ -13,7 +13,7 @@ BOTTLENAME="Deepin-WeChat"
APPVER="3.4.0.38deepin6"
WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
WECHAT_FONTS="$WINEPREFIX/drive_c/windows/Fonts"
-WECHAT_VER="3.7.0.30"
+WECHAT_VER="3.7.5.23"
EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"
EXEC_FILE="$WINEPREFIX/drive_c/Program Files/Tencent/WeChat/WeChat.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"