install Wine + WeChat in Fedora 31
Posted ztguang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
#---------------------------------------------------------------------------------------
以上是关于install Wine + WeChat in Fedora 31的主要内容,如果未能解决你的问题,请参考以下文章
install Wine + 迅雷 in Fedora 31