Skip to content

Commit

Permalink
forbid wechat browser creating crash logs
Browse files Browse the repository at this point in the history
Signed-off-by: Vufa <countstarlight@gmail.com>
  • Loading branch information
vufa committed Mar 6, 2023
1 parent 6da2332 commit 69e0928
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = deepin-wine-wechat
pkgdesc = Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
pkgver = 3.9.0.28
pkgrel = 2
pkgrel = 3
url = https://weixin.qq.com/
install = deepin-wine-wechat.install
arch = x86_64
Expand Down
8 changes: 4 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgver=3.9.0.28
wechat_installer=WeChatSetup
deepinwechatver=3.4.0.38deepin6
debpkgname="com.qq.weixin.deepin"
pkgrel=2
pkgrel=3
pkgdesc="Tencent WeChat on Deepin Wine(${debpkgname}) For Archlinux"
arch=("x86_64")
url="https://weixin.qq.com/"
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
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Deepin 打包的微信容器(`com.qq.weixin.deepin`)移植到 Archlinux,包含
- [GNOME 桌面上的托盘图标](#gnome-桌面上的托盘图标)
- [消除阴影边框](#消除阴影边框)
- [唤出已运行的 WeChat 窗口](#唤出已运行的-wechat-窗口)
- [旧方法:](#旧方法)
- [新方法:](#新方法)
- [方法1](#方法1)
- [方法2](#方法2)
- [感谢](#感谢)
- [更新日志](#更新日志)

Expand Down Expand Up @@ -132,7 +132,7 @@ dpi,系统版本,目录映射等可以在 `winecfg` 进行设置,打开 `w

| 微信版本 | wine | 兼容性 | 备注 | deepin-wine | 兼容性 | 备注 |
| :-----------------: | :-------: | :--------: | :----------------------------------------------------------: | :---------: | :----: | :----------------------------------------------------------: |
| 3.9.0.28-2~ | \ | \ | \ | 6.0.0.42-1 | 部分 | 截图不可用 |
| 3.9.0.28-2~ | \ | \ | \ | 6.0.0.42-1 | 部分 | 截图不可用,内置浏览器出现问题([#225](https://github.com/vufa/deepin-wine-wechat-arch/issues/225)) |
| 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)) |
Expand Down Expand Up @@ -241,7 +241,7 @@ DEEPIN_WINE_SCALE=1.25

### 唤出已运行的 WeChat 窗口

#### 旧方法:
#### 方法1

运行命令:

Expand All @@ -251,7 +251,9 @@ DEEPIN_WINE_SCALE=1.25

可以参考 [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) 将该命令存入脚本并添加到全局快捷键中,方便使用

#### 新方法:
#### 方法2

> [thep0y](https://github.com/thep0y) 提供
点击图标时如果已有正在运行的实例会导致错误的 kill,原因是`/opt/deepinwine/tools/kill.sh`中:

Expand Down

0 comments on commit 69e0928

Please sign in to comment.