Package Details: wechat-universal-bwrap 4.0.1.7-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 (devome, leaeasy)
Last Packager: 7Ji
Votes: 107
Popularity: 7.32
First Submitted: 2024-03-14 03:09 (UTC)
Last Updated: 2024-12-15 06:49 (UTC)

Pinned Comments

7Ji commented on 2024-03-14 06:21 (UTC) (edited on 2024-12-08 08:59 (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,同理为绝对路径或相对于~的相对路径

Latest Comments

« First ‹ Previous 1 .. 29 30 31 32 33 34 35 Next › Last »

libook commented on 2024-03-08 08:48 (UTC) (edited on 2024-03-08 08:49 (UTC) by libook)

关于Qt platform plugin错误,详细的解决步骤如下:

1. 安装此AUR包
2. cp /usr/share/applications/wechat-beta.desktop ~/.local/share/applications
3. vim ~/.local/share/applications/wechat-beta.desktop
4. 将Exec一行改为 Exec=env QT_QPA_PLATFORM=xcb wechat-beta %u

faonecze commented on 2024-03-07 15:40 (UTC) (edited on 2024-03-08 00:17 (UTC) by faonecze)

KDE下发现 1.微信图标一直闪烁. 2.顶部点击微信图标右键弹出退出却在底部.(重启后正常)

yuk commented on 2024-03-07 14:15 (UTC) (edited on 2024-03-07 14:17 (UTC) by yuk)

wayland的打不开,提示

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

这种问题的,可以在wayland.sh或者hyprland.conf的Environement variables模块添加env = QT_QPA_PLATFORM,xcb

yjun commented on 2024-03-07 13:09 (UTC) (edited on 2024-03-08 13:55 (UTC) by yjun)

环境变量可以放到desktop entry 里配置。

diff --git a/wechat-beta.desktop b/wechat-beta.desktop
index 7aa9223..7818700 100644
--- a/wechat-beta.desktop
+++ b/wechat-beta.desktop
@@ -2,7 +2,7 @@
 Comment=WeChat Beta
 Comment[zh_CN]=
 TryExec=wechat-beta
-Exec=wechat-beta %u
+Exec=env QT_IM_MODULE=fcitx GTK_USE_PORTAL=1 QT_SCALE_FACTOR=1.5 wechat-beta %u
 Icon=wechat-beta
 Name=WeChat (Beta)
 Name[zh_CN]=微信 Beta
diff --git a/wechat.sh b/wechat.sh
index eac8f87..7c32f48 100644
--- a/wechat.sh
+++ b/wechat.sh
@@ -12,9 +12,6 @@ function launch() {
                --ro-bind /usr/share/wechat-uos/etc/os-release /etc/os-release \
                --ro-bind /usr/share/wechat-uos/etc/lsb-release /etc/lsb-release \
                --ro-bind-try /usr/lib/snapd-xdg-open/xdg-open /usr/bin/xdg-open \
-               --setenv QT_IM_MODULE fcitx \
-               --setenv GTK_USE_PORTAL 1 \
-               --setenv QT_SCALE_FACTOR 1.5 \
                /opt/wechat-beta/wechat $@
 }

如果需要自定义值,可以单独拷贝到~/.local/share/applications/修改,更灵活。

直接写死的脚本里,修改后如果遇到更新就会被覆盖

yifwon commented on 2024-03-07 11:06 (UTC) (edited on 2024-03-07 11:12 (UTC) by yifwon)

可以支持一下arm和loogarch的平台吗,我在arm试了是可用的,版本好像更新到1.5.0了,这是各个架构的链接 https://cloud.cnxclm.com/s/XOxIb?path=%2F

Cyenoch commented on 2024-03-07 05:24 (UTC) (edited on 2024-03-07 05:24 (UTC) by Cyenoch)

我的gnome上图标显示错误

wechat-beta.desktopStartupWMClass 或许应该=wechat

StartupWMClass=wechat

修改后图标正常显示

如果应用窗口文字很大

可以通过修改 wechat.sh

--setenv QT_SCALE_FACTOR 1.5

QT_SCALE_FACTOR 的值解决, 删除该行应该会使用系统缩放 (我不确定)