diff options
author | Vufa | 2022-11-30 13:36:27 +0800 |
---|---|---|
committer | Vufa | 2022-11-30 13:36:27 +0800 |
commit | 062e1a8fa815b454f7d168075eb8fb25cb9851a8 (patch) | |
tree | 6678050aae9758394613b95be8cdacb561bd19bb | |
parent | d9ee061b564b4e81f4d4e7bb52d9dc8d4bddf0cb (diff) | |
download | aur-062e1a8fa815b454f7d168075eb8fb25cb9851a8.tar.gz |
Upgrade WeChat to '3.8.0.41' and add wake up command by @metahy
Signed-off-by: Vufa <countstarlight@gmail.com>
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rwxr-xr-x | run.sh | 17 |
4 files changed, 30 insertions, 19 deletions
@@ -1,14 +1,14 @@ pkgbase = deepin-wine-wechat pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux - pkgver = 3.7.6.44 + pkgver = 3.8.0.41 pkgrel = 1 url = https://weixin.qq.com/ install = deepin-wine-wechat.install arch = x86_64 license = custom depends = p7zip - depends = deepin-wine6-stable>=6.0.0.24-1 - depends = deepin-wine-helper>=5.1.39_1-1 + depends = deepin-wine6-stable>=6.0.0.39-1 + depends = deepin-wine-helper>=5.1.43_1-1 depends = xorg-xwininfo depends = wqy-microhei depends = lib32-alsa-lib @@ -21,16 +21,16 @@ pkgbase = deepin-wine-wechat optdepends = lib32-nvidia-utils: required for nvidia graphics card conflicts = deepin-wechat source = https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.qq.weixin.deepin/com.qq.weixin.deepin_3.4.0.38deepin6_i386.deb - source = WeChatSetup-3.7.6.44.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe + source = WeChatSetup-3.8.0.41.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe source = https://community-packages.deepin.com/deepin/pool/main/o/openldap/libldap-2.4-2_2.4.47+dfsg.4-1+eagle_i386.deb source = https://community-packages.deepin.com/deepin/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.27.1-1+dde_i386.deb source = run.sh source = reg.patch md5sums = 6c4edb108a0593bab7a556a6c9e8a012 - md5sums = 27e8373a038d2b240ad440b0f9ffc19b + md5sums = d841406c6a892707904029953266ad41 md5sums = cf87ad9db0bf279ddf9e5c1dce64a716 md5sums = 89b10711889f52ab0a386f37b4eb3212 - md5sums = 861f2e5c7eb05c50aab8da8d51a307af + md5sums = 18dd3e7fca1533923d87cdb0a1b29bbd md5sums = 05b05416ef1fa4e1baaf64736e15a057 pkgname = deepin-wine-wechat @@ -1,7 +1,7 @@ # Maintainer: Vufa <countstarlight@gmail.com> pkgname=deepin-wine-wechat -pkgver=3.7.6.44 +pkgver=3.8.0.41 wechat_installer=WeChatSetup deepinwechatver=3.4.0.38deepin6 debpkgname="com.qq.weixin.deepin" @@ -10,7 +10,7 @@ pkgdesc="Tencent WeChat on Deepin Wine(${debpkgname}) For Archlinux" arch=("x86_64") url="https://weixin.qq.com/" license=('custom') -depends=('p7zip' 'deepin-wine6-stable>=6.0.0.24-1' 'deepin-wine-helper>=5.1.39_1-1' 'xorg-xwininfo' 'wqy-microhei' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-libpulse' 'lib32-openal' 'lib32-mpg123' 'lib32-libldap') +depends=('p7zip' 'deepin-wine6-stable>=6.0.0.39-1' 'deepin-wine-helper>=5.1.43_1-1' 'xorg-xwininfo' 'wqy-microhei' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-libpulse' 'lib32-openal' 'lib32-mpg123' 'lib32-libldap') optdepends=('noto-fonts-sc: display some Chinese characters' 'lib32-nvidia-utils: required for nvidia graphics card') conflicts=('deepin-wechat') @@ -24,10 +24,10 @@ source=("$_mirror/appstore/pool/appstore/c/${debpkgname}/${debpkgname}_${deepinw "run.sh" "reg.patch") md5sums=('6c4edb108a0593bab7a556a6c9e8a012' - '27e8373a038d2b240ad440b0f9ffc19b' + 'd841406c6a892707904029953266ad41' 'cf87ad9db0bf279ddf9e5c1dce64a716' '89b10711889f52ab0a386f37b4eb3212' - '861f2e5c7eb05c50aab8da8d51a307af' + '18dd3e7fca1533923d87cdb0a1b29bbd' '05b05416ef1fa4e1baaf64736e15a057') build() { diff --git a/README.md b/README.md index 2190f30b6d41..69e12826f85f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ <img src="https://img.shields.io/github/workflow/status/vufa/deepin-wine-wechat-arch/CI/action?logo=github&style=flat-square"> </a> <a href="https://pc.weixin.qq.com/"> - <img src="https://img.shields.io/badge/WeChat-3.7.6.44-blue?style=flat-square&logo=wechat" alt="WeChat Version"> + <img src="https://img.shields.io/badge/WeChat-3.8.0.41-blue?style=flat-square&logo=wechat" alt="WeChat Version"> </a> <a href="https://aur.archlinux.org/packages/deepin-wine-wechat/"> <img src="https://img.shields.io/aur/version/deepin-wine-wechat?label=AUR&logo=arch-linux&style=flat-square" alt="AUR Version"> @@ -130,7 +130,8 @@ dpi,系统版本,目录映射等可以在 `winecfg` 进行设置,打开 `w | 微信版本 | wine | 兼容性 | 备注 | deepin-wine | 兼容性 | 备注 | | :-----------------: | :-------: | :--------: | :----------------------------------------------------------: | :---------: | :----: | :----------------------------------------------------------: | -| 3.7.0.30~ | \ | \ | \ | 6.0.0.24-1 | 部分 | 截图和表情包不可用,内置浏览器出现问题([#225](https://github.com/vufa/deepin-wine-wechat-arch/issues/225)) | +| 3.8.0.41~ | \ | \ | \ | 6.0.0.39-1 | 部分 | 截图不可用,内置浏览器出现问题([#225](https://github.com/vufa/deepin-wine-wechat-arch/issues/225)) | +| 3.7.0.30~3.7.6.44 | \ | \ | \ | 6.0.0.24-1 | 部分 | 截图和表情包不可用,内置浏览器出现问题([#225](https://github.com/vufa/deepin-wine-wechat-arch/issues/225)) | | 3.5.0.46~3.7.0.30 | \ | \ | \ | 6.0.0.24-1 | 部分 | 小程序和公众号可用,截图([#192](https://github.com/vufa/deepin-wine-wechat-arch/issues/192))和表情包不可用([#177](https://github.com/vufa/deepin-wine-wechat-arch/issues/188)) | | 3.3.0.93~3.5.0.46 | \ | \ | \ | 5.0.16-1 | 支持 | | | 3.2.1.141~3.2.1.154 | 6.6 | | 截图功能不可用:[#87](https://github.com/vufa/deepin-wine-wechat-arch/issues/87) | 5.0.16-1 | 支持 | | @@ -238,15 +239,13 @@ DEEPIN_WINE_SCALE=1.25 ### 唤出已运行的WeChat窗口 -> 根据 [deepin-wine-wechat-arch#96](https://github.com/vufa/deepin-wine-wechat-arch/issues/96),由[szy132](https://github.com/szy132)提供的方法 - 运行命令: ```bash -/opt/deepinwine/tools/sendkeys.sh w wechat 4 +/opt/apps/com.qq.weixin.deepin/files/run.sh -w ``` -可以参考 [deepin-wine-wechat-arch#96](https://github.com/vufa/deepin-wine-wechat-arch/issues/96) 将该命令添加到桌面环境的全局快捷键中,方便使用 +可以参考 [deepin-wine-wechat-arch#263](https://github.com/vufa/deepin-wine-wechat-arch/issues/263) 将该命令存入脚本并添加到全局快捷键中,方便使用 ## 感谢 @@ -257,6 +256,7 @@ DEEPIN_WINE_SCALE=1.25 <details open> <summary>2022</summary> +* 2022-11-30 WeChat-3.8.0.41 * 2022-09-06 WeChat-3.7.6.44 * 2022-08-20 WeChat-3.7.6.29 * 2022-08-20 WeChat-3.7.6.24 @@ -13,7 +13,7 @@ BOTTLENAME="Deepin-WeChat" APPVER="3.4.0.38deepin6" WINEPREFIX="$HOME/.deepinwine/$BOTTLENAME" WECHAT_FONTS="$WINEPREFIX/drive_c/windows/Fonts" -WECHAT_VER="3.7.6.44" +WECHAT_VER="3.8.0.41" EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe" EXEC_FILE="$WINEPREFIX/drive_c/Program Files/Tencent/WeChat/WeChat.exe" START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh" @@ -74,6 +74,13 @@ DeployApp() cat /opt/apps/$DEB_PACKAGE_NAME/files/files.md5sum > $WINEPREFIX/PACKAGE_VERSION } +WakeApp() +{ + env WINEPREDLL="$ARCHIVE_FILE_DIR/dlls" \ + WINEDLLPATH=/opt/$APPRUN_CMD/lib:/opt/$APPRUN_CMD/lib64 \ + WINEPREFIX=$WINEPREFIX $APPRUN_CMD /opt/deepinwine/tools/sendkeys.exe w +} + Run() { if [ -z "$DISABLE_ATTACH_FILE_DIALOG" ];then @@ -111,8 +118,9 @@ Run() HelpApp() { echo " Extra Commands:" - echo " winecfg Open winecfg" - echo " -h/--help Show program help info" + echo " winecfg Open winecfg" + echo " -w/--wake Wake up background program" + echo " -h/--help Show program help info" } if [ -z $1 ]; then @@ -123,6 +131,9 @@ case $1 in "winecfg") OpenWinecfg ;; + "-w" | "--wake") + WakeApp + ;; "-h" | "--help") HelpApp ;; |