Package Details: wechat-universal-bwrap 4.0.1.11-1

Git Clone URL: https://aur.archlinux.org/wechat-universal-bwrap.git (read-only, click to copy)
Package Base: wechat-universal-bwrap
Description: WeChat (Universal) with bwrap sandbox
Upstream URL: https://linux.weixin.qq.com/
Licenses: GPLv3, proprietary
Conflicts: wechat-universal
Provides: wechat-universal
Replaces: wechat-beta, wechat-beta-bwrap
Submitter: 7Ji
Maintainer: 7Ji (leaeasy)
Last Packager: 7Ji
Votes: 130
Popularity: 3.77
First Submitted: 2024-03-14 03:09 (UTC)
Last Updated: 2024-12-24 07:50 (UTC)

Pinned Comments

shilka commented on 2025-02-13 11:08 (UTC)

@dazuixia @lyhokia @swimming03 你们是否也使用了非GNOME/KDE的其他wayland WM/DE? 又研究了一下这个问题,如果不使用bwrap沙盒直接执行wechat是可以的,排除了wechat本身的问题。我认为问题出在bwrap、xwayland的配合和调用上面,导致微信无法在xwayland中启动。我使用的WM是Hyprland,推测可能和各个WM/DE有一定的关系。目前我找到一个可行的缓解方式,安装:xwayland-satellite,并提前执行这一程序,之后正常启动wechat-universal。

@7Ji 如果其他人也可以缓解,烦请置顶一下这个解决方案,或者如果您很熟悉bwrap,是否可以看看通过某些参数解决它和xwayland的交互问题。

7Ji commented on 2024-03-14 06:21 (UTC) (edited on 2024-12-26 09:08 (UTC) by 7Ji)

本软件包在Github上亦有仓库: https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/ (仓库未启用issues,有问题请直接在此页面提出)

各位如有改进意见,欢迎在Github仓库页提交PR :)

抓取新版本的脚本和PKGBUILD在同一层。执行python fetch_uos_wechat_release.py获取UOS仓库内的重打包版本,执行./fetch_tencent_wechat_release.sh获取腾讯官方的版本。如果发现软件过期,请善用本界面的标记过期功能。:)


默认配置下,只有~/Documents/WeChat_Data/home 作为容器内的~,其他宿主文件和文件夹均不暴露在容器内

可以编写~/.config/wechat-universal/binds.list来设置更多的被暴露到容器内的文件/文件夹,每行一个路径,绝对路径或相对于~的相对路径


要将微信文件的主要路径修改至 ~/Documents/WeChat_Data 外的其他路径,请设置环境变量 WECHAT_DATA_DIR,同理为绝对路径或相对于~的相对路径


更多参数与环境变量,请在命令行输入 wechat-universal --help 查看

Latest Comments

« First ‹ Previous 1 .. 18 19 20 21 22 23 24 25 26 27 28 .. 39 Next › Last »

7Ji commented on 2024-03-16 15:48 (UTC)

@martinit 请检查/etc/resolv.conf的内容,卡登录、卡白屏多是此文件未正常配置引起的,往往宿主程序因使用其他方案查询DNS而未暴露问题。

@kerojiang 发送文件功能本身是正常的。但是为了避免微信扫盘,默认配置之下,只有Documents/Wechat_Data内的内容会暴露给容器内的微信。您可以配置 ~/.config/wechat-universal/binds.list ,每行写一个想要暴露给容器内微信的文件或文件夹路径(绝对路径,或相较于您HOME的相对路径如Downloads),这样就可以在微信中点击发送文件按钮时显示出来

kerojiang commented on 2024-03-16 14:34 (UTC)

这个版本可以发送文件吗? 我这边不行,是不是要怎么设置

jiyuanhao commented on 2024-03-16 14:16 (UTC)

扫码之后提示登录失败,请问有人遇到过嘛

shaouai commented on 2024-03-16 10:27 (UTC) (edited on 2024-03-16 10:29 (UTC) by shaouai)

@7Ji @Eikano 我是 Manjaro KDE,参考这里,设置环境变量 QT_FONT_DPI 也可以起到效果,只是做个参考哈。

faonecze commented on 2024-03-16 07:52 (UTC) (edited on 2024-03-16 08:34 (UTC) by faonecze)

~怎么更新后会导致plasmashell意外关闭?~ 好像是个意外,微信: 1.引用 2.撤回 3.置顶 这三个能支持以下就好了...

martinit commented on 2024-03-16 05:44 (UTC) (edited on 2024-03-16 05:45 (UTC) by martinit)

扫码登陆,加载到70%就显示无法加载,怎么回事。。。。,手机上显示桌面端已登陆

7Ji commented on 2024-03-15 19:22 (UTC)

@wcz 这个问题我怀疑可能是LoongArchLinux下bwrap补全被绑定路径的父文件夹/opt时的mask不一致引起的。您是否可以检查下原wechat-universal.sh启动最后一刻前的容器环境?即将原wechat-universal.sh的最后一行/opt/...改为/bin/bash并手动查看可疑内容。

如果确为/opt权限问题,则可以在绑定/opt/wechat-universal前加一行--dir /opt来以755的权限主动创建之(或其前再加一行--perms指定权限)

wcz commented on 2024-03-15 18:09 (UTC)

第十次打包的版本,在LoongArchLinux上启动有以下报错:

Workaround for fcitx applied
Hint: Custom binds could be declared in '~/.config/wechat-universal/binds.list', each line a path, absolute or relative to your HOME
/usr/bin/wechat-universal: 行 64: /home/arch/.config/wechat-universal/binds.list: 没有那个文件或目录
bwrap: execvp /opt/wechat-universal/wechat: No such file or directory

最后这个找不到执行文件我感觉很蛋疼。然后我在启动脚本中bwrap环境wechat-universal目录改了改,就能启动了。改法是:

--ro-bind /opt/wechat-universal{,}

改为

--ro-bind /opt{,}

Eikano commented on 2024-03-15 12:56 (UTC) (edited on 2024-03-15 13:00 (UTC) by Eikano)

@7Ji 测试过,不可以的。我的笔记本 Gnome X11 貌似只对 QT_SCALE_FACTOR 参数生效 , QT_AUTO_SCREEN_SCALE_FACTOR 这个参数是没有效果的

holy_shift commented on 2024-03-15 12:08 (UTC)

Fcitx5 输入法不能使用,环境使用的 Arch+DWM

使用终端打开 wechat-universal-bwrap 会提示 Workaround for fcitx applied

但是输入法还是不能使用,不能切换为中文。

fcitx5-input-support 也已经安装,按理说环境变量应该也设置好了。