@lihe07
pacman -Q util-linux
util-linux 2.39.3-2
Git Clone URL: | https://aur.archlinux.org/wechat.git (read-only, click to copy) |
---|---|
Package Base: | |
Description: | Fixes and optional sandbox for WeChat. |
Upstream URL: | https://github.com/Kraftland/portable |
Keywords: | binary qt sandbox universal wechat |
Licenses: | GPL3 |
Provides: | wechat-beta-bwrap, wechat-bwrap, wechat-portable, wechat-sandbox-provider, wechat-universal-bwrap, wechat-uos-bwrap, wechat-uos-qt |
Replaces: | wechat-bwrap |
Submitter: | Kimiblock |
Maintainer: | Kimiblock |
Last Packager: | Kimiblock |
Votes: | 47 |
Popularity: | 4.70 |
First Submitted: | 2024-06-30 11:27 (UTC) |
Last Updated: | 2025-01-20 09:44 (UTC) |
« First ‹ Previous 1 .. 42 43 44 45 46 47 48 49 50 51 52 .. 56 Next › Last »
@lihe07
pacman -Q util-linux
util-linux 2.39.3-2
@lihe07 您好
id -u
1000
id -g
1000
运行/opt/wechat-universal/wechat 可以登入 但是如果点语音留言或是视频语音通话就马上程序退出
/opt/wechat-universal/wechat
libpng warning: iCCP: known incorrect sRGB profile
[0325/201836.960306:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0325/201836.974313:ERROR:directory_reader_posix.cc(42)] opendir /home/james/.xwechat/crashinfo/attachments/d6682905-b2e3-4cd6-9dad-3fc5a52cdebd: No such file or directory (2)
[0325/201836.985940:ERROR:exception_handler_server.cc(53)] EPOLLERR: Connection reset by peer (104)
zsh: illegal hardware instruction /opt/wechat-universal/wechat
谢谢
@JamesL 请问您使用的util-linux的版本是多少呢?id -u
和 id -g
的输出都是什么?
直接运行 /opt/wechat-universal/wechat
能否出现登陆窗口?
复制日志的时候,建议使用 ``` 包围
有个奇怪的现象,微信启动后会在home下生成一个叫xwechat_files的文件,能通过补丁将它限定位置吗 看它在home乱生成文件有点痛苦
If it reports errors like unshare: no line matching user "xxx" in /etc/subuid, run the following commands in the host system as root:
echo "$USER:65536:65536" >> /etc/subuid echo "$USER:65536:65536" >> /etc/subgid 按照上面的步骤可以运行,但是听语音留言不行,视频和语音通话也不行。只要尝试就退出 libpng warning: iCCP: known incorrect sRGB profile [0325/021102.870441:ERROR:elf_dynamic_array_reader.h(64)] tag not found [0325/021102.882060:ERROR:directory_reader_posix.cc(42)] opendir /home/james/.xwechat/crashinfo/attachments/8b9b576d-6c59-4ff8-b8d6-7c9d9363fa1c: No such file or directory (2) unshare: line 1: 7282 Illegal instruction "$@" [0325/021102.896923:ERROR:exception_handler_server.cc(53)] EPOLLERR: Connection reset by peer (104)
@Fingertap 开放特权会有安全性和隐私风险:例如扫盘,篡改文件等。
微信也有可能加入更aggressive的环境检测,但这种情况下即使使用容器也不一定能很好避免。
目前还没有发现这种行为,如果有可疑迹象也只能靠各位报告了。
请问有什么弊端吗?不能访问文件很麻烦
仅使用 unshare
和 nsenter
的版本发布了,即无后缀的 wechat-universal
. 仍开放全部特权.
关于wechat-universal的几个AUR打包的区别:
wechat-universal
: 使用 util-linux
切换 Namespace 绕过检测,开放所有特权
wechat-universal-privileged
:使用 bubblewrap
绕过检测,开放所有特权
wechat-universal-bwrap
:使用 bubblewrap
绕过检测,并限制文件访问
@pm3843
看了几个aur 为什么都需要用bwrap呢?
现在都需要bwrap来绕过微信的发行版检测(替换/etc/os-release之类的文件)
但用bwrap略有浪费,我现在在尝试用cgroup之类的方法替换文件,弄完会放到无后缀的wechat-universal
Pinned Comments
Kimiblock commented on 2024-12-31 16:40 (UTC)
WeChat will soon split into 2 packages. While wechat-bin will be the new "vanilla" version, this package will revert back to the original state and automatically set env vars for input method, HiDPI and more. The sandbox will still remain optional in this package, though.
Kimiblock commented on 2024-11-13 11:11 (UTC) (edited on 2025-02-07 07:10 (UTC) by Kimiblock)
右键应用程序图标可与微信共享文件. 其将被放置在沙盒的
~/Shared
中.WeChat_Data/portable.env 中的环境变量将会自动导入至微信.
不支持纯 Wayland 环境, 微信并未构建 Wayland 模块.
Kimiblock commented on 2024-11-13 11:09 (UTC)
若要查看使用手册, 访问 https://wiki.archlinuxcn.org/wiki/WeChat
For user manual and internal document, consult https://wiki.archlinux.org/title/WeChat
st0ne commented on 2024-07-27 16:00 (UTC) (edited on 2024-07-31 04:35 (UTC) by st0ne)
KDE Plasma 添加阴影
1.添加阴影
在微信界面,ALT+F3 -> 更多操作 -> 配置特殊窗口设置 -> 添加属性 -> 添加 外观和修正 下面的 无标题栏和边框 -> 将 初始状态应用 改为 强制,将后面的 是 切换称 否 -> 应用
2.去除标题栏
之后微信就有边框阴影了,但是微信多了个标题栏。
设置 -> 颜色和主题 -> 窗口装饰元素 -> 找到你在用的主题右下角的编辑 -> 切换到 特定窗口优先规则 -> 添加 -> 检测窗口属性... -> 选中微信窗口 直到 匹配正则表达式 那里出现 wechat -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用