感謝以下項(xiàng)目
https://github.com/web1n/wechat-universal-flatpak
- 打開以下地址瑞佩,下載.flatpak后綴的文件
https://github.com/web1n/wechat-universal-flatpak/releases
2.在下載目錄右鍵打開終端耀盗,輸入以下命令安裝flatpak
sudo apt-get install flatpak
3.輸入以下命令配置
sudo flatpak remote-add --if-not-exists --system flathub https://flathub.org/repo/flathub.flatpakrepo
4.輸入以下命令安裝微信
flatpak install com.tencent.WeChat.flatpak
5.復(fù)制圖標(biāo)
sudo cp /var/lib/flatpak/app/com.tencent.WeChat/current/active/export/share/applications/com.tencent.WeChat.desktop /usr/share/applications/
sudo cp -R /var/lib/flatpak/app/com.tencent.WeChat/current/active/export/share/icons/hicolor/* /usr/share/icons/hicolor/
6.給微信全部目錄權(quán)限
sudo flatpak override com.tencent.WeChat --filesystem=home