一、下面讲讲在ubuntu 环境下如何安装企业版微信:
(1)打开terminal:
第一步:新建一个目录并克隆deepin-wine
git clone /wszqkzqk/deepin-wine-for-ubuntu.git
第二步:cd 到 deepin-wine-for-ubuntu 文件夹下面,执行下列命令
./install.sh
第三步:在 home 目录下新建一个文件夹,我命名的是 deepin,然后 cd 进入 deepin,执行如下命令
wget /deepin/pool/non-free/d/.weixin.work/.weixin.work_2.4.16.1347deepin0_i386.debsudo dpkg -i .weixin.work_2.4.16.1347deepin0_i386.deb
(2)若要装其他应用,可以参考:Index of /deepin/pool/non-free/d/
二、解决打开应用后中文乱码
第一步:上网搜索并下载simsun.ttc 字体
第二步:将字体放入 ~/.deepinwine/XXX/drive_c/windows/Fonts 里面(XXX指 deepin 下的你安装的程序,如企业微信为 Deepin-WXWork )
cpsimsun.ttc~/.deepinwine/Deepin-WXWork/drive_c/windows/Fonts
第三步:编写zh.reg 文件
cd~/.deepinwine/Deepin-WXWorkvim zh.reg
zh.reg的内容:
REGEDIT4[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]"Arial"="simsun""Arial CE,238"="simsun""Arial CYR,204"="simsun""Arial Greek,161"="simsun""Arial TUR,162"="simsun""Courier New"="simsun""Courier New CE,238"="simsun""Courier New CYR,204"="simsun""Courier New Greek,161"="simsun""Courier New TUR,162"="simsun""FixedSys"="simsun""Helv"="simsun""Helvetica"="simsun""MS Sans Serif"="simsun""MS Shell Dlg"="simsun""MS Shell Dlg 2"="simsun""System"="simsun""Tahoma"="simsun""Times"="simsun""Times New Roman CE,238"="simsun""Times New Roman CYR,204"="simsun""Times New Roman Greek,161"="simsun""Times New Roman TUR,162"="simsun""Tms Rmn"="simsun"