Elementory OS下通过wine安装Tim

参考自https://www.hiczp.com/post-142.html
本人尝试过后成功
环境: Elementory 0.41 | wine-2.16 (Staging) | TIM 1.2.0
这里的 TIM 指 Tencent TIM

安装wine

详见此 https://wine-staging.com/installation.html

Start by importing the key for our repository:

wget -nc https://repos.wine-staging.com/wine/Release.key
sudo apt-key add Release.key

Then use the following command to add our repository to your /etc/apt/sources.list file:

sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'

As a next step, please update the package cache and install Wine Staging:

sudo apt-get update
sudo apt-get install --install-recommends winehq-staging

You should now be able to start Wine Staging. For more information about using Wine you can take a look at the Wine User Guide.

然后安装以下组件

sudo apt install wine-mono
sudo apt install wine-gecko

拷贝一份Windows字体

windows字体在 c:\windows\fonts
复制到 ~/.wine/drive_c/windows/Fonts

现在我们重载 wine 的所有配置,使用命令行

trans@tt:~$ wineboot

我们从腾讯网站下载得到 TIM 安装包并安装他,不要用开机启动。
之后我们运行它,会发现无法输入账户,这个问题出在 wine 对一些 API 的实现不完全。这种事情 Wine 早就预料到,因此提供了一种备选方案,即允许使用原装 windows dll 替代 wine 重写的本地代码的实现库,虽然会降低效能,但是至少可以避免一些bug。

为了完美运行 TIM ,我们需要替换 riched20 ,如图所示
这里写图片描述
将其调为 原装, 即该 dll 强制使用 windows 原装 dll。
之后我们点击确定,再刷新一次配置。

wineboot

安装Tim命令

wine Tim1.2.0.exe
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值