install Wine + WeChat in Fedora 31
<p>install Wine + WeChat in Fedora 31</p><p><br>
dnf -y install dnf-plugins-core<br>
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/31/winehq.repo<br>
dnf -y install winehq-stable</p>
<p>cd /usr/bin/<br>
wget -c https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks<br>
chmod +x winetricks</p>
<p>dnf install cabextract wine-mono *winbind*</p>
<p>mkdir /opt/tools/wine/; cd /opt/tools/wine/<br>
wget -c https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe</p>
<p>export WINEARCH=win32 WINEPREFIX=/opt/wine/tencent<br>
winecfg # 选择 windows 7<br>
winetricks riched20 richtx32 corefonts<br>
wine /opt/tools/wine/WeChatSetup.exe # 安装 WeChat</p>
<p><br>
# 解决字体发虚问题<br>
winecfg ---> 显示 ---> 屏幕分辨率 ---> 120 dpi</p>
<p><img alt="" class="has lazyload" data-src="https://img-blog.csdnimg.cn/20200128201936297.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>
<p> </p>
<p>#---------------------------------------------------------------------------------------<br>
重启系统 或 注销 或 执行如下命令后重启微信<br>
pkill wineserver<br>
pkill winedevice.exe<br>
ps aux|grep wine<br>
kill -9 25610 # root 25610 C:\windows\system32\winedevice.exe<br>
#---------------------------------------------------------------------------------------</p>
<p> </p><br><br>
来源:https://www.cnblogs.com/ztguang/p/12644251.html
頁:
[1]