Package Details: wechat 4.0.1.11-1

Git Clone URL: https://aur.archlinux.org/wechat.git (read-only, click to copy)
Package Base: wechat
Description: 微信是一种生活方式. This is a repackage of the official WeChat which includes an optional sandbox support
Upstream URL: https://weixin.qq.com/
Keywords: binary qt sandbox universal wechat
Licenses: LicenseRef-Proprietary
Conflicts: wechat-bin, wechat-universal, wechat-uos
Provides: wechat-bin, wechat-universal, wechat-uos
Replaces: wechat-bin
Submitter: Kimiblock
Maintainer: Kimiblock
Last Packager: Kimiblock
Votes: 51
Popularity: 12.60
First Submitted: 2024-06-30 11:27 (UTC)
Last Updated: 2024-12-26 11:04 (UTC)

Dependencies (43)

Required by (1)

Sources (6)

Pinned Comments

Kimiblock commented on 2024-12-27 07:34 (UTC)

若遇到输入法, HiDPI 等问题, 请安装 wechat-bwrap 附加包

Kimiblock commented on 2024-12-26 08:49 (UTC)

若要启用沙盒, 请安装 wechat-bwrap.

请在发表评论时检查事实, 使用正常语言.

Kimiblock commented on 2024-11-13 11:11 (UTC) (edited on 2024-12-11 08:01 (UTC) by Kimiblock)

分享文档时, 请先将📃放入数据目录: 右键应用程序图标, 选择 Open WeChat Data 或手动打开 "${XDG_DATA_HOME}"/WeChat_Data (默认为 ~/.local/share/WeChat_Data), 微信会将这个目录作为家目录.

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 -> 勾选 装饰选项 下面的 隐藏窗口标题栏 -> 确定 -> 应用

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 51 Next › Last »

wszqkzqk commented on 2024-12-20 00:58 (UTC)

依赖和配置也许可以参考合并过来的wechat-bin,之前的这一软件包没有openssl-1.1 protable等额外依赖也没有问题。个人认为wechat-bin的打包其实可能还更合理一点。不过既然都合并过来了,也可以借鉴参考:

# Maintainer: devome <evinedeng@hotmail.com>

_pkgname="wechat"
pkgname="${_pkgname}-bin"
pkgver=4.0.1.7
pkgrel=1
pkgdesc="WeChat from Tencent | 微信官方版"
arch=("x86_64" "aarch64" "loong64")
url="https://linux.weixin.qq.com"
license=("custom:Software License and Service of Tencent Weixin")
provides=("${_pkgname}"{,-universal})
conflicts=("${_pkgname}"{,-universal})
replaces=("${_pkgname}-universal"{,-privilege})
depends=(at-spi2-core jack libpulse libxcomposite libxdamage libxkbcommon-x11 libxrandr mesa nss pango xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm)
optdepends=("noto-fonts-cjk: Chinese font support"
            "noto-fonts-emoji: emoji support")
source=("LICENSE-zh_CN.html::https://weixin.qq.com/agreement?lang=zh_CN"
        "LICENSE-zh_HK.html::https://weixin.qq.com/agreement?lang=zh_HK"
        "LICENSE-zh_TW.html::https://weixin.qq.com/agreement?lang=zh_TW"
        "LICENSE-en.html::https://www.wechat.com/mobile/en/service_terms.html")
source_x86_64=("${_pkgname}-${pkgver}-x86_64.deb::https://home-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.${_pkgname}/com.tencent.${_pkgname}_${pkgver}_amd64.deb")
source_aarch64=("${_pkgname}-${pkgver}-aarch64.deb::https://home-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.${_pkgname}/com.tencent.${_pkgname}_${pkgver}_arm64.deb")
source_loong64=("${_pkgname}-${pkgver}-loong64.deb::https://home-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.${_pkgname}/com.tencent.${_pkgname}_${pkgver}_loongarch64.deb")
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
sha256sums_x86_64=('bfd5a2a320280148ff35f7a9d36d1ba98f4a685f41df2518fbb10f7636df3bb2')
sha256sums_aarch64=('403fbcc7cb2cd55546e018a8b6e6685aca734c9019b2bdcc09c19b6608e6385e')
sha256sums_loong64=('33eabe2abfd467699d857aa9807fd73c17f058c8d547fdc3141ee078ea68adca')
noextract=("${_pkgname}-${pkgver}-"{x86_64,aarch64,loong64}.deb)
options=("!strip")

prepare() {
    bsdtar -xOf "${_pkgname}-${pkgver}-${CARCH}.deb" data.tar.xz | bsdtar -xmf- --strip-components 4 --exclude "opt/apps/com.tencent.${_pkgname}/info" "opt/apps/com.tencent.${_pkgname}"
    mv "files" "${_pkgname}"
    while read file; do
        if [[ $(file -b "$file") != "ELF "* ]]; then
            chmod -x "$file"
        fi
    done <<< "$(find "${_pkgname}" -type f)"

    sed -e "s|^Icon=.*|Icon=${_pkgname}|" \
        -e "s|^Categories=.*|Categories=Network;InstantMessaging;Chat;|" \
        -e "s|^Exec=.*|Exec=env 'QT_QPA_PLATFORM=wayland;xcb' QT_AUTO_SCREEN_SCALE_FACTOR=1 /usr/bin/${_pkgname} %U|" \
        "entries/applications/com.tencent.${_pkgname}.desktop" > "${_pkgname}.desktop"
}

package() {
    install -Dm644 LICENSE-*          -t "${pkgdir}/usr/share/licenses/${pkgname}"
    install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
    install -dm755 "${pkgdir}/usr/bin"   "${pkgdir}/opt"
    mv "${_pkgname}"                     "${pkgdir}/opt/${_pkgname}"
    ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
    for res in 16 32 48 64 128 256; do
        local _png="entries/icons/hicolor/${res}x${res}/apps/com.tencent.${_pkgname}.png"
        install -Dm644 "$_png"           "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/${_pkgname}.png"
    done
}

Keep-Silence commented on 2024-12-16 03:49 (UTC)

@devome 受教了。万分感谢~ 刚好是KDE桌面

devome commented on 2024-12-16 03:47 (UTC) (edited on 2024-12-16 08:02 (UTC) by devome)

@Keep-Silence 如果是KDE桌面,操作方式和Windows是一样的,在任务栏中微信排第几,就按“win+几”,比如排第4,就是“win+4”。具体按键与桌面有关。

Keep-Silence commented on 2024-12-16 03:40 (UTC)

感谢大佬打包。想问问大佬如何实现通过快捷键,唤出微信窗口的脚本或者操作?

Kimiblock commented on 2024-12-11 06:46 (UTC)

现阶段不能. portable 负责启动 WeChat 并设置正确的环境变量等依赖

yangling commented on 2024-12-11 05:16 (UTC)

@kimiblock 我打字打错了。不是太大的,是不太想有太多的三分依赖。

Kimiblock commented on 2024-12-11 02:02 (UTC)

@yangling 没有. 我不认为 <30KiB 是很大的依赖

yangling commented on 2024-12-11 00:29 (UTC)

portable 有办法做到是可选包吗?不是很喜欢加太大三方的依赖

b83c commented on 2024-12-08 15:20 (UTC)

@Kimiblock Thx, it worked.