update wechat & qq

master
yutent 2026-03-27 18:25:38 +08:00
parent ad035c84c6
commit 3f8eb2a1a0
2 changed files with 12 additions and 15 deletions

View File

@ -2,8 +2,8 @@
app_name="linuxqq"
tmp_dir="/tmp/${app_name}_tmp"
version="3.2.23.260108-1"
release="3.2.23_260108"
version="3.2.26.260319-1"
release="3.2.26_260319"
deb_url="https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_${release}_amd64_01.deb"
# 创建临时目录, 用于下载官方包
if [ -d $tmp_dir ]; then
@ -86,25 +86,22 @@ bwrap --new-session --die-with-parent --cap-drop ALL --unshare-user-try --unshar
--symlink usr/bin /bin \\
--ro-bind /usr /usr \\
--ro-bind /opt /opt \\
--ro-bind /etc /etc \\
--dev-bind /dev /dev \\
--ro-bind /sys /sys \\
--ro-bind /etc/passwd /etc/passwd \\
--ro-bind /etc/resolv.conf /etc/resolv.conf \\
--ro-bind /etc/localtime /etc/localtime \\
--dev-bind /dev/shm /dev/shm \\
--ro-bind-try /run/user/$(id -u)/bus /run/user/$(id -u)/bus \\
--proc /proc \\
--dev-bind /run/dbus /run/dbus \\
--tmpfs /tmp \\
--bind \"\${USER_RUN_DIR}\" \"\${USER_RUN_DIR}\" \\
--ro-bind-try /etc/fonts /etc/fonts \\
--dev-bind /tmp /tmp \\
--bind-try \"\${HOME}/.pki\" \"\${HOME}/.pki\" \\
--ro-bind-try \"\${XAUTHORITY}\" \"\${XAUTHORITY}\" \\
--bind-try \"\${DOWNLOAD_DIR}\" \"\${DOWNLOAD_DIR}\" \\
--bind \"\${QQ_APP_DIR}\" \"\${QQ_APP_DIR}\" \\
--ro-bind-try \"\${CONFIG_HOME}\" \"\${CONFIG_HOME}\" \\
--ro-bind-try \"\${HOME}/.local\" \"\${HOME}/.local\" \\
--bind \"\${QQ_APP_DIR}\" \"\${QQ_APP_DIR}\" \\
--setenv DISPLAY \"\${DISPLAY}\" \\
--setenv XAUTHORITY \"\${XAUTHORITY}\" \\
--setenv QQNTIM_HOME \"\${QQ_APP_DIR}/QQNTim\" \\
--setenv LITELOADERQQNT_PROFILE \"\${QQ_APP_DIR}/LiteLoaderQQNT\" \\
--setenv QT_QPA_PLATFORM xcb \\
/opt/QQ/qq --no-sandbox \"\$@\"

View File

@ -2,7 +2,7 @@
app_name="wechat"
tmp_dir="/tmp/${app_name}_tmp"
version="4.1.0.16"
version="4.1.1.4"
release="${version}"
deb_url="https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.deb"