如果希望在Ubuntu使用Windows版微信:
- 安装 Wine
sudo apt-get install wine
- 先把环境改了省事:
$ export WINEARCH=win32 $ export WINEPREFIX=/home/qinyu/Wine/WeChat
- 创建 Wine Bottle
$ cd $ mkdir Wine $ cd Wine/ $ winecfg
- 下载微信安装包,拓展名
.exe
那种,放在`~/Wine/ - 安装
wine WeChatSetup.exe
- 然后果然发现中文全是方框,安装 WineTricks,不要用
sudo apt install winetricks
,而是用以下 WineHQ 官方的方法:cd "${HOME}/Downloads" wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks sudo cp winetricks /usr/local/bin
- 两个选项:
- 运行
winetricks
在DLL中装riched20
,riched32
,在 Font 中装所有中文相关。(其实并不清楚需不需要WINPREFIX=/home/qinyu/Wine/WeChat
) - 或者,
winetricks corefonts gdiplus riched20 riched30 wenquanyi
- 运行
- 运行
winetricks
GUI 或直接winetricks regedit
打开窗口选择 Registry > Import Registry File,然后下载导入这个文件