Skip to content

Commit

Permalink
wechat browser work
Browse files Browse the repository at this point in the history
Signed-off-by: Vufa <[email protected]>
  • Loading branch information
vufa committed Feb 23, 2023
1 parent bc4e909 commit cfef05e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.
16 changes: 10 additions & 6 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pkgbase = deepin-wine-wechat
pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
pkgver = 3.8.1.26
pkgrel = 1
pkgver = 3.9.0.28
pkgrel = 2
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
arch = x86_64
license = custom
depends = p7zip
depends = lib32-udis86-git
depends = deepin-wine6-stable>=6.0.0.39-1
depends = deepin-wine6-stable>=6.0.0.42-1
depends = deepin-wine-helper>=5.1.45_1-1
depends = xorg-xwininfo
depends = wqy-microhei
Expand All @@ -22,16 +22,20 @@ 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.8.1.26.exe::https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe
source = WeChatSetup-3.9.0.28.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
source = mmmojo.dll
source = mmmojo_64.dll
md5sums = 6c4edb108a0593bab7a556a6c9e8a012
md5sums = 4f374b1a0961dc7ca734db90ebc5e635
md5sums = 3efd527ee04c027f401e3b0a460242c2
md5sums = cf87ad9db0bf279ddf9e5c1dce64a716
md5sums = 89b10711889f52ab0a386f37b4eb3212
md5sums = 1a98e0a0ba0d740115e9e62523104011
md5sums = 758b560950adccb5778a7347410efcf6
md5sums = 05b05416ef1fa4e1baaf64736e15a057
md5sums = e8296fadc17b303dd5c77e4a05677ebd
md5sums = 2aa6b65bd19bbde32432ea06c28cc33d

pkgname = deepin-wine-wechat
10 changes: 5 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ pkgver=3.9.0.28
wechat_installer=WeChatSetup
deepinwechatver=3.4.0.38deepin6
debpkgname="com.qq.weixin.deepin"
pkgrel=1
pkgrel=2
pkgdesc="Tencent WeChat on Deepin Wine(${debpkgname}) For Archlinux"
arch=("x86_64")
url="https://weixin.qq.com/"
license=('custom')
depends=('p7zip' 'lib32-udis86-git' 'deepin-wine6-stable>=6.0.0.39-1' 'deepin-wine-helper>=5.1.45_1-1' 'xorg-xwininfo' 'wqy-microhei' 'lib32-alsa-lib' 'lib32-alsa-plugins' 'lib32-libpulse' 'lib32-openal' 'lib32-mpg123' 'lib32-libldap')
depends=('p7zip' 'lib32-udis86-git' 'deepin-wine6-stable>=6.0.0.42-1' 'deepin-wine-helper>=5.1.45_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')
Expand Down Expand Up @@ -59,9 +59,9 @@ build() {
msg "Copying mmmojo.dll and mmmojo_64.dll to ${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/ ..."
install -m644 "${srcdir}/mmmojo.dll" "${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/"
install -m644 "${srcdir}/mmmojo_64.dll" "${srcdir}/deepinwechatdir/drive_c/Program Files/Tencent/"
msg "Creating 'XPlugin/Plugins/XWeb' to forbid wechat browser creating crash logs ..."
mkdir -p "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/"
touch "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/XWeb"
#msg "Creating 'XPlugin/Plugins/XWeb' to forbid wechat browser creating crash logs ..."
#mkdir -p "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/"
#touch "${srcdir}/deepinwechatdir/drive_c/users/@current_user@/Application Data/Tencent/WeChat/XPlugin/Plugins/XWeb"
#find -L "${srcdir}/deepinwechatdir/dosdevices" -maxdepth 1 -type l -delete
msg "Repackaging app archive ..."
7z a -t7z -r "${srcdir}/files.7z" "${srcdir}/deepinwechatdir/*"
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,22 @@ dpi,系统版本,目录映射等可以在 `winecfg` 进行设置,打开 `w

:warning: **注意:所有版本的摄像头均不可用**

| 微信版本 | wine | 兼容性 | 备注 | deepin-wine | 兼容性 | 备注 |
| :-----------------: | :-------: | :--------: | :---------------------------------------------------------------------------------------: | :---------: | :----: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| 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 | 支持 | |
| 3.2.1.127 | 6.5 | 部分 | 群聊闪退&截图功能不可用:[#87](https://github.com/vufa/deepin-wine-wechat-arch/issues/87) | 5.0.16-1 | 支持 | |
| 3.1.0.41~3.1.0.72 | 5.22~6.0 | 部分 | 截图功能不可用:[#73](https://github.com/vufa/deepin-wine-wechat-arch/issues/73) | 5.0.16-1 | 支持 | |
| 3.0.0.57 | 5.22 | **不支持** | 微信安装程序不能启动:[#92](https://github.com/vufa/deepin-wine-wechat-arch/issues/92) | 5.0.16-1 | 支持 | |
| 3.0.0.57 | 5.19 | 支持 | | 2.18_24-3 | 支持 | |
| 2.8.0.106~2.9.5.56 | 4.19~5.13 | 部分 | 发送图片有问题: [#42](https://github.com/vufa/deepin-wine-wechat-arch/issues/42) | 2.18_22-3 | 部分 | 发送图片有问题: [#42](https://github.com/vufa/deepin-wine-wechat-arch/issues/42) |
| 2.7.1.82~2.7.1.88 | 4.19+ | 支持 | | | | |
| 2.7.1.82~2.7.1.88 | 4.17~4.18 | 部分 | 不能使用中文输入法 | 2.18_18-2 | 不支持 | 闪退 |
| 2.6.8.65 | 4.16 | 支持 | | 2.18_18-2 | 支持 | |
| 微信版本 | wine | 兼容性 | 备注 | deepin-wine | 兼容性 | 备注 |
| :-----------------: | :-------: | :--------: | :----------------------------------------------------------: | :---------: | :----: | :----------------------------------------------------------: |
| 3.9.0.28-2~ | \ | \ | \ | 6.0.0.42-1 | 部分 | 截图不可用 |
| 3.8.0.41~3.8.1.26 | \ | \ | \ | 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 | 支持 | |
| 3.2.1.127 | 6.5 | 部分 | 群聊闪退&截图功能不可用:[#87](https://github.com/vufa/deepin-wine-wechat-arch/issues/87) | 5.0.16-1 | 支持 | |
| 3.1.0.41~3.1.0.72 | 5.22~6.0 | 部分 | 截图功能不可用:[#73](https://github.com/vufa/deepin-wine-wechat-arch/issues/73) | 5.0.16-1 | 支持 | |
| 3.0.0.57 | 5.22 | **不支持** | 微信安装程序不能启动:[#92](https://github.com/vufa/deepin-wine-wechat-arch/issues/92) | 5.0.16-1 | 支持 | |
| 3.0.0.57 | 5.19 | 支持 | | 2.18_24-3 | 支持 | |
| 2.8.0.106~2.9.5.56 | 4.19~5.13 | 部分 | 发送图片有问题: [#42](https://github.com/vufa/deepin-wine-wechat-arch/issues/42) | 2.18_22-3 | 部分 | 发送图片有问题: [#42](https://github.com/vufa/deepin-wine-wechat-arch/issues/42) |
| 2.7.1.82~2.7.1.88 | 4.19+ | 支持 | | | | |
| 2.7.1.82~2.7.1.88 | 4.17~4.18 | 部分 | 不能使用中文输入法 | 2.18_18-2 | 不支持 | 闪退 |
| 2.6.8.65 | 4.16 | 支持 | | 2.18_18-2 | 支持 | |

## 切换到 `deepin-wine`

Expand Down

0 comments on commit cfef05e

Please sign in to comment.