Hi 7Ji,
Firstly, may I ask what's the difference between the universal version
`wechat` and `weixin`? If its just a newer version of WeChat, then it
should remain the wechat-uos package name or prefix. People from the
#archlinux-cn group and I tested and realized that WeChat cannot run or
login without some system files from the UOS system. Therefore it's
still exclusive to China's UOS. Naming it "-universal" might be a
little misleading in my opinion. I also believe that they are keeping
the old "weixin" (probably unmaintained) because the fact that the so
called "Universal" Qt version doesn't port over any data from legacy
Electron version "weixin" (Chat history, Pictures, Videos etc.) Causing
a breaking upgrade which is not ideal for a non-rolling distribution.
It is advisable to update the original "wechat-uos" and put in a
.install file to remind users about this breaking change using
`post_upgrade`. Arch is always a rolling "always up-to-date" system,
therefore it is suggested that a new package called wechat-uos-legacy
submitted to the AUR for those who doesn't want to upgrade and
introduce a detection logic in wechat-uos which reminds old users to
migrate their data or install a legacy version.
I apologize about the script calling the Tencent WeChat a "trashApp".
But it's an internal variable for debugging bubblewrap sandbox which
was never meant to be used or seen by users. Also regarding the
non-Arch detection logic, I don't see the any reason why not including
it. This detection prevents the issue which appears on systems with a
modification package "moeOS" installed, and from my knowledge it never
broke any Arch user's installation. According to you mail reply,
unfortunately the wechat-uos-bwrap is broken on your system. But I
didn't see any reports from you on the AUR comments area (or maybe it's
missed). If there's an issue with the package, please report so that I
can improve the quality of this script.
Nevertheless, I still suggests that updating `wechat-uos` and merge all
other "Native WeChat" packages into it, including wechat-uos-bwrap,
wechat-beta-bwrap and wechat-universal.
--
Sincerely,
Kimiblock