install Wine + WeChat in Fedora 31

install Wine + WeChat in Fedora 31


dnf -y install dnf-plugins-core
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/31/winehq.repo
dnf -y install winehq-stable

cd /usr/bin/
wget -c https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks

dnf install cabextract wine-mono *winbind*

mkdir /opt/tools/wine/; cd /opt/tools/wine/
wget -c https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe

export WINEARCH=win32 WINEPREFIX=/opt/wine/tencent
winecfg    # 选择 windows 7
winetricks riched20 richtx32 corefonts
wine /opt/tools/wine/WeChatSetup.exe        # 安装 WeChat


# 解决字体发虚问题
winecfg ---> 显示 ---> 屏幕分辨率 ---> 120 dpi

 

#---------------------------------------------------------------------------------------
重启系统 或 注销 或 执行如下命令后重启微信
    pkill wineserver
    pkill winedevice.exe
    ps aux|grep wine
    kill -9 25610            # root 25610  C:\windows\system32\winedevice.exe
#---------------------------------------------------------------------------------------

 

posted @ 2020-01-28 20:13  张同光  阅读(1046)  评论(0编辑  收藏  举报