Skip to content

Commit

Permalink
Upgrade WeChat to '3.7.5.31' and forbid wechat browser creating crash…
Browse files Browse the repository at this point in the history
… logs

Signed-off-by: Vufa <[email protected]>
  • Loading branch information
vufa committed Aug 17, 2022
1 parent 44f58ec commit 868856c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = deepin-wine-wechat
pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
pkgver = 3.7.5.23
pkgver = 3.7.5.31
pkgrel = 1
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
Expand All @@ -21,16 +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.5.23.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
source = WeChatSetup-3.7.5.31.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 = 86851da540577bb4e994cfc076a5776a
md5sums = 930141b82ed317250274c3aeb3750ae2
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 89b10711889f52ab0a386f37b4eb3212
md5sums = 464e8be12ba7037671f648f0b7839b12
md5sums = 543ccf3fdb5e00a2fde68971294d8265
md5sums = 05b05416ef1fa4e1baaf64736e15a057

pkgname = deepin-wine-wechat
9 changes: 6 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Vufa <[email protected]>

pkgname=deepin-wine-wechat
pkgver=3.7.5.23
pkgver=3.7.5.31
wechat_installer=WeChatSetup
deepinwechatver=3.4.0.38deepin6
debpkgname="com.qq.weixin.deepin"
Expand All @@ -24,10 +24,10 @@ source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${deepinw
"run.sh"
"reg.patch")
md5sums=('6c4edb108a0593bab7a556a6c9e8a012'
'86851da540577bb4e994cfc076a5776a'
'930141b82ed317250274c3aeb3750ae2'
'cf87ad9db0bf279ddf9e5c1dce64a716'
'89b10711889f52ab0a386f37b4eb3212'
'464e8be12ba7037671f648f0b7839b12'
'543ccf3fdb5e00a2fde68971294d8265'
'05b05416ef1fa4e1baaf64736e15a057')

build() {
Expand All @@ -52,6 +52,9 @@ build() {
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/ ..."
install -m644 "${srcdir}/${wechat_installer}-${pkgver}.exe" "${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/"
msg "Creating 'XPlugin/Plugins/XWeb' to forbid wechat browser creating crash logs ..."
mkdir -p "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/"
touch "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/XWeb"
#find -L "${srcdir}/deepinwechatdir/dosdevices" -maxdepth 1 -type l -delete
msg "Repackaging app archive ..."
7z a -t7z -r "${srcdir}/files.7z" "${srcdir}/deepinwechatdir/*"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.23-blue?style=flat-square&logo=wechat" alt="WeChat Version">
<img src="https://img.shields.io/badge/WeChat-3.7.5.31-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">
Expand Down Expand Up @@ -260,6 +260,7 @@ DEEPIN_WINE_SCALE=1.25
<details open>
<summary>2022</summary>

* 2022-08-17 WeChat-3.7.5.31
* 2022-07-21 WeChat-3.7.5.23
* 2022-06-09 WeChat-3.7.0.30
* 2022-06-02 WeChat-3.7.0.29
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.23"
WECHAT_VER="3.7.5.31"
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"
Expand Down

0 comments on commit 868856c

Please sign in to comment.