Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
Upgrade TIM to 3.3.9.22051
Browse files Browse the repository at this point in the history
Signed-off-by: Vufa <countstarlight@gmail.com>
  • Loading branch information
vufa committed Jan 27, 2022
1 parent fca76f2 commit 74be9dc
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = deepin-wine-tim
pkgdesc = Tencent TIM on Deepin Wine5(com.qq.office.deepin) For Archlinux
pkgver = 3.3.8.22043
pkgrel = 2
pkgver = 3.3.9.22051
pkgrel = 1
url = https://tim.qq.com/
install = deepin-wine-tim.install
arch = x86_64
Expand All @@ -21,12 +21,12 @@ pkgbase = deepin-wine-tim
conflicts = deepin.com.qq.office
conflicts = deepin-tim-for-arch
source = https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.qq.im.deepin/com.qq.im.deepin_9.3.2deepin20_i386.deb
source = https://dldir1.qq.com/qqfile/qq/PCTIM/TIM3.3.8/TIM3.3.8.22043.exe
source = https://dldir1.qq.com/qqfile/qq/TIM3.3.9/TIM3.3.9.22051.exe
source = run.sh
source = share.7z
md5sums = 5fdc20e614d945bd2ba5251420872479
md5sums = 57aa69085e451c147a6af8866f4b37b8
md5sums = 78cec653bc342c0f80972233e5479180
md5sums = e5b97081022766415bd22d21fba706f6
md5sums = 52fa83c9d78d421cf91ef1f3e9a79dbb
md5sums = 479ae2a04a9c5dcc08c67c7b1395a944

pkgname = deepin-wine-tim
10 changes: 5 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Maintainer: Codist <countstarlight@gmail.com>

pkgname=deepin-wine-tim
pkgver=3.3.8.22043
pkgver=3.3.9.22051
debpkgver=9.3.2deepin20
debpkgname="com.qq.im.deepin"
timpkgname="com.qq.office.deepin"
pkgrel=2
pkgrel=1
pkgdesc="Tencent TIM on Deepin Wine5(${timpkgname}) For Archlinux"
arch=("x86_64")
url="https://tim.qq.com/"
Expand All @@ -15,12 +15,12 @@ conflicts=('wine-tim' 'deepin.com.qq.office' 'deepin-tim-for-arch')
install="deepin-wine-tim.install"
_mirror="https://com-store-packages.uniontech.com"
source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${debpkgver}_i386.deb"
"https://dldir1.qq.com/qqfile/qq/PCTIM/TIM3.3.8/TIM${pkgver}.exe"
"https://dldir1.qq.com/qqfile/qq/TIM3.3.9/TIM${pkgver}.exe"
"run.sh"
"share.7z")
md5sums=('5fdc20e614d945bd2ba5251420872479'
'57aa69085e451c147a6af8866f4b37b8'
'78cec653bc342c0f80972233e5479180'
'e5b97081022766415bd22d21fba706f6'
'52fa83c9d78d421cf91ef1f3e9a79dbb'
'479ae2a04a9c5dcc08c67c7b1395a944')

build() {
Expand Down
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://img.shields.io/github/workflow/status/vufa/deepin-wine-tim-arch/CI/action?logo=github&style=flat-square" alt="Build Status">
</a>
<a href="https://office.qq.com/download.html">
<img src="https://img.shields.io/badge/TIM-3.3.8.22043-blue?style=flat-square" alt="TIM Version">
<img src="https://img.shields.io/badge/TIM-3.3.9.22051-blue?style=flat-square" alt="TIM Version">
</a>
<a href="https://aur.archlinux.org/packages/deepin-wine-tim/">
<img src="https://img.shields.io/aur/version/deepin-wine-tim?label=AUR&logo=arch-linux&style=flat-square" alt="AUR Version">
Expand Down Expand Up @@ -63,6 +63,10 @@ Deepin 打包的 QQ 容器(`com.qq.im.deepin`)移植到 Archlinux,QQ 环境修
+[multilib]
+Include = /etc/pacman.d/mirrorlist
```
保存后执行
```shell
sudo pacman -Sy
```

:warning: **注意:由于新版TIM可能需要 `wine` 还没有实现的一些win api,这会导致一些功能不可用,安装前先根据[兼容性记录](#兼容性记录)选择一个合适的版本**

Expand Down Expand Up @@ -189,6 +193,18 @@ TIM在本地保存的数据不会被删除,如保存在用户文档下的数

参照[设置](#设置)打开 `winecfg` ,在选项卡 `Graphics` 中修改dpi,如 修改为`192`

:bulb: 这一修改会在更新或重装后被重置,如果要在更新后保留dpi设置,可以添加环境变量

> 根据 [deepin-wine-wechat-arch#173](https://github.com/vufa/deepin-wine-wechat-arch/issues/173),由[abcfy2](https://github.com/abcfy2)提供的方法
编辑 `~/.pam_environment`,添加:

```
DEEPIN_WINE_SCALE=1.25
```

`1.25` 为缩放比例,计算方法和其他注意事项参照 [deepin-wine-wechat-arch#173(comment)](https://github.com/vufa/deepin-wine-wechat-arch/issues/173#issuecomment-989944258)

### GNOME 桌面上的悬浮窗口问题

> 根据 [deepin-wine-tim-arch#2](https://github.com/vufa/deepin-wine-tim-arch/issues/2),由[EricDracula](https://github.com/EricDracula)提供的方法
Expand Down Expand Up @@ -222,6 +238,12 @@ TIM在本地保存的数据不会被删除,如保存在用户文档下的数
## 更新日志

<details open>
<summary>2022</summary>

* 2022-01-27 TIM-3.3.9.22051

</details>
<details>
<summary>2021</summary>

* 2021-07-12 TIM-3.3.8.22043
Expand Down
2 changes: 0 additions & 2 deletions deepin-wine-tim.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ info() {
echo -e "\033[0;34m============================提示/INFO==============================="
echo -e "* 反馈问题(Report issue):"
echo -e " https://github.com/vufa/deepin-wine-tim-arch/issues"
echo -e "* 切换到 'deepin-wine5'(Switch to 'deepin-wine5'):"
echo -e " https://github.com/vufa/deepin-wine-tim-arch"
echo -e "* 安装包下载(Installation package download):"
echo -e " https://github.com/vufa/deepin-wine-tim-arch/releases"
echo -e "====================================================================\033[0m"
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1";
BOTTLENAME="Deepin-TIM"
APPVER="9.3.2deepin20"
WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME"
TIM_VER="3.3.8.22043"
TIM_VER="3.3.9.22051"
EXEC_PATH="c:/Program Files/Tencent/TIM/Bin/TIM.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
TIM_INSTALLER_PATH="c:/Program Files/Tencent/TIM$TIM_VER.exe"
Expand Down

0 comments on commit 74be9dc

Please sign in to comment.