新的方式:https://www.lulinux.com/archives/1319/comment-page-4
https://www.cnblogs.com/g2thend/p/12320574.html
安装过程:
下载最新版本tar.gz压缩包https://github.com/geeeeeeeeek/electronic-wechat/releases/download/V2.0/linux-x64.tar.gz
wget https://github.com/geeeeeeeeek/electronic-wechat/releases/download/V2.0/linux-x64.tar.gz
解压压缩包
sudo tar zxvf linux-x64.tar.gz
把解压的文件夹放在/opt下
sudo mv electronic-wechat-linux-x64/ /opt/electronic-wechat-linux-x64
创建终端下的快速启动命令
sudo ln -s /opt/electronic-wechat-linux-x64/electronic-wechat /usr/bin/electronic-wechat
创建在Dash Home下的快速启动图标
Dash Home的图标一般在两个位置/usr/share/applications#或者
~/.local/share/applications(用户独立配置的基本都在这里)#只要在一个位置建立图标文件即可
sudo vi /usr/share/applications/electronic-wechat.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Electronic WeChat
Icon=electronic-wechat.png
Exec=/opt/electronic-wechat-linux-x64/electronic-wechat
StartupNotify=false
StartupWMClass=electronic-wechat
OnlyShowIn=Unity;
X-UnityGenerated=true