diff --git a/wechat/package.sh b/wechat/package.sh index 13032b8..7fc2231 100755 --- a/wechat/package.sh +++ b/wechat/package.sh @@ -74,7 +74,7 @@ echo """ # wechat only support xcb BWRAP_ENV_APPEND=\"--setenv QT_QPA_PLATFORM xcb \" -WECHAT_HOME_DIR=\"\${HOME}/Documents/WeChat_Data\" +WECHAT_HOME_DIR=\"\$(xdg-user-dir DOCUMENTS)/WeChat_Data\" if [ -z \${QT_IM_MODULE} ]; then BWRAP_ENV_APPEND=\"\${BWRAP_ENV_APPEND} --setenv QT_IM_MODULE fcitx\"