Skip to content

Commit

Permalink
Upgrade WeChat to 3.5.0.46 and add lib32-nvidia-utils to optdepends
Browse files Browse the repository at this point in the history
Signed-off-by: Vufa <countstarlight@gmail.com>
  • Loading branch information
vufa committed Jan 27, 2022
1 parent ec863a7 commit 063d9a6
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 14 deletions.
11 changes: 6 additions & 5 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.4.5.45
pkgver = 3.5.0.46
pkgrel = 1
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
Expand All @@ -18,18 +18,19 @@ pkgbase = deepin-wine-wechat
depends = lib32-mpg123
depends = lib32-libldap
optdepends = noto-fonts-sc: display some Chinese characters
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.2.1.154deepin14_i386.deb
source = WeChatSetup-3.4.5.45.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
source = WeChatSetup-3.5.0.46.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+dfsg-1+deb10u1_i386.deb
source = run.sh
source = reg.patch
md5sums = b48cd3c089b7c2bb7b68aba018b306b1
md5sums = 9b301915f6a348dc88bf5568ff87a5e6
md5sums = d81ce735e25cf79ac90bdc2c87020d13
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 531a3997ea28e8fc0f47e9e136dae332
md5sums = 06d525ca6f62c814d65a76299028ca78
md5sums = f3257f8fc9e73ea88b3a46372634f82f
md5sums = e011858fb5987efa31d3a519c62cb2d6
md5sums = a2db11c578fa038120153d790eb8f144

pkgname = deepin-wine-wechat
11 changes: 6 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Vufa <countstarlight@gmail.com>

pkgname=deepin-wine-wechat
pkgver=3.4.5.45
pkgver=3.5.0.46
wechat_installer=WeChatSetup
deepinwechatver=3.2.1.154deepin14
debpkgname="com.qq.weixin.deepin"
Expand All @@ -11,7 +11,8 @@ arch=("x86_64")
url="https://weixin.qq.com/"
license=('custom')
depends=('p7zip' 'deepin-wine5' 'deepin-wine-helper' 'xorg-xwininfo' 'wqy-microhei' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-libpulse' 'lib32-openal' 'lib32-mpg123' 'lib32-libldap')
optdepends=('noto-fonts-sc: display some Chinese characters')
optdepends=('noto-fonts-sc: display some Chinese characters'
'lib32-nvidia-utils: required for nvidia graphics card')
conflicts=('deepin-wechat')
install="deepin-wine-wechat.install"
_mirror="https://com-store-packages.uniontech.com"
Expand All @@ -23,11 +24,11 @@ source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${deepinw
"run.sh"
"reg.patch")
md5sums=('b48cd3c089b7c2bb7b68aba018b306b1'
'9b301915f6a348dc88bf5568ff87a5e6'
'd81ce735e25cf79ac90bdc2c87020d13'
'cf87ad9db0bf279ddf9e5c1dce64a716'
'531a3997ea28e8fc0f47e9e136dae332'
'06d525ca6f62c814d65a76299028ca78'
'f3257f8fc9e73ea88b3a46372634f82f')
'e011858fb5987efa31d3a519c62cb2d6'
'a2db11c578fa038120153d790eb8f144')

build() {
msg "Extracting DPKG package ..."
Expand Down
15 changes: 14 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.4.5.45-blue?style=flat-square&logo=wechat" alt="WeChat Version">
<img src="https://img.shields.io/badge/WeChat-3.5.0.46-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 @@ -207,6 +207,18 @@ sudo pacman -Rns deepin-wine-wechat

参照[设置](#设置)打开 `winecfg` ,在选项卡 `Graphics` 中修改dpi,如 修改为`192`

:bulb: 这一修改会在更新或重装后被重置,如果要在更新后保留dpi设置,可以添加环境变量

> 根据 [deepin-wine-wechat-arch#173](https://github.com/vufa/deepin-wine-wechat-arch/issues/173),由[abcfy2](https://github.com/abcfy2)提供的方法
编辑 `~/.pam_environment`,添加:

```
DEEPIN_WINE_SCALE=1.25
```

`1.25` 为缩放比例,计算方法和其他注意事项参照 [deepin-wine-wechat-arch#173(comment)](https://github.com/vufa/deepin-wine-wechat-arch/issues/173#issuecomment-989944258)

### GNOME 桌面上的托盘图标

安装 GNOME 插件: [AppIndicator and KStatusNotifierItem Support](https://extensions.gnome.org/extension/615/appindicator-support/)
Expand Down Expand Up @@ -236,6 +248,7 @@ sudo pacman -Rns deepin-wine-wechat
<details open>
<summary>2022</summary>

* 2022-01-27 WeChat-3.5.0.46
* 2022-01-03 WeChat-3.4.5.45

</details>
Expand Down
5 changes: 3 additions & 2 deletions reg.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
diff -ruN reg_tmp/user.reg reg_tmp_fixed/user.reg
--- reg_tmp/user.reg 2021-04-28 14:50:30.000000000 +0800
+++ reg_tmp_fixed/user.reg 2021-06-21 15:11:23.006181124 +0800
@@ -761,6 +761,7 @@
+++ reg_tmp_fixed/user.reg 2022-01-27 11:07:09.995468048 +0800
@@ -761,6 +761,8 @@
"txupd.exe"=""
"usp10"="native,builtin"
"wechatupdate.exe"=""
+"wechatbrowser.exe"=""
+"wechatapp.exe"=""

[Software\\Wine\\Drivers\\winepulse.drv] 1591000018
#time=1d637ee6a5a1faa
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1";
BOTTLENAME="Deepin-WeChat"
APPVER="3.2.1.154deepin14"
WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
WECHAT_VER="3.4.5.45"
WECHAT_VER="3.5.0.46"
EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
WECHAT_INSTALLER="WeChatSetup"
Expand Down

0 comments on commit 063d9a6

Please sign in to comment.