From 74be9dcf82ab19a9ec66f9440120527f70b54936 Mon Sep 17 00:00:00 2001 From: Vufa Date: Thu, 27 Jan 2022 12:44:45 +0800 Subject: [PATCH] Upgrade TIM to 3.3.9.22051 Signed-off-by: Vufa --- .SRCINFO | 10 +++++----- PKGBUILD | 10 +++++----- README.md | 24 +++++++++++++++++++++++- deepin-wine-tim.install | 2 -- run.sh | 2 +- 5 files changed, 34 insertions(+), 14 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9169026..b16781a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 442700d..c804b5c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: Codist 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/" @@ -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() { diff --git a/README.md b/README.md index d54a9cb..c18a061 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Build Status - TIM Version + TIM Version AUR Version @@ -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,这会导致一些功能不可用,安装前先根据[兼容性记录](#兼容性记录)选择一个合适的版本** @@ -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)提供的方法 @@ -222,6 +238,12 @@ TIM在本地保存的数据不会被删除,如保存在用户文档下的数 ## 更新日志
+2022 + +* 2022-01-27 TIM-3.3.9.22051 + +
+
2021 * 2021-07-12 TIM-3.3.8.22043 diff --git a/deepin-wine-tim.install b/deepin-wine-tim.install index 9732b47..0a818f6 100644 --- a/deepin-wine-tim.install +++ b/deepin-wine-tim.install @@ -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" diff --git a/run.sh b/run.sh index 17bd4c8..91aad75 100755 --- a/run.sh +++ b/run.sh @@ -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"