ubuntu-deepin-wechat

Installer for Deepin WeChat with Wine

Install Dependencies

1
2
cd deepin-wine-dependency
bash install.sh

Install WeChat

1
2
sudo dpkg -i deepin.com.wechat_2.6.2.31deepin0_i386.deb
sudo apt-get install -f

WeChat Version Too Old Issue

Please update your WeChat Windows installer if you encounter this problem.

1
2
3
4
mkdir /tmp/wechat
cd /tmp/wechat
wget https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
env WINEPREFIX=/home/${USER}/.deepinwine/Deepin-WeChat deepin-wine WeChatSetup.exe

WeChat font issue

Download:
https://github.com/qiuhuachuan/fonts/blob/main/MSYH.TTC

1
2
cp ~/Downloads/msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
vim ~/.deepinwine/Deepin-WeChat/font.reg

File content:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.ttc"
"Microsoft Sans Serif"="msyh.ttc"
"MS Sans Serif"="msyh.ttc"
"Tahoma"="msyh.ttc"
"Tahoma Bold"="msyhbd.ttc"
"msyh"="msyh.ttc"
"Arial"="msyh.ttc"
"Arial Black"="msyh.ttc"

Last:

1
WINEPREFIX=~/.deepinwine/Deepin-WeChat/ deepin-wine regedit ~/.deepinwine/Deepin-WeChat/font.reg