ubuntu 20.04安装微信
2021-07-10 本文已影响0人
simbanyan
准备
- 安装 deepin-wine
- 什么是deepin-wine呢,
- linux对windowsAPI的部分实现,就可以运行windows应用
git clone "https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git" cd deepin-wine #切换到下载目录 sudo ./install.sh #执行安装```
安装微信
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.8.65deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
- 修复微信字体
- 下载字体并解压到
~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/msyh.ttc
- 字体下载链接:https://cloud.189.cn/web/share?code=BVFVn2rue6na(访问码:hn7o)
- 下载字体并解压到
- 注册字体
vim ~/.deepinwine/Deepin-WeChat/font.reg
并复制以下内容保存文件
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"
运行 WINEPREFIX=~/.deepinwine/Deepin-WeChat/ deepin-wine regedit ~/.deepinwine/Deepin-WeChat/font.reg
注册字体