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
發佈了34 篇原創文章 · 獲贊 18 · 訪問量 5萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章