1) 从https://github.com/geeeeeeeeek/electronic-wechat/releases地址中下载 linux-x64.tar.gz文件到/opt/wechat文件夹
2) 然后解包到该文件夹: tar -zxvf ./electronic-wechat-linux-x64.tar.gz -C /opt/wechat
3)下载图标到electronic-wechat-linux-x64文件夹下
wget https://raw.githubusercontent.com/geeeeeeeeek/electronic-wechat/master/assets/icon.png -O electronic-wechat.png
4)创建一个微信电脑版的桌面启动器:
cd /usr/share/applications
vi electronic-wechat.desktop
然后写入(注意1,2,3等是序号,只是为了说明要分行,不要写入vim):
-
[Desktop Entry]
-
Name=Electronic Wechat
-
Name[zh_CN]=微信电脑版
-
Name[zh_TW]=微信电脑版
-
Exec=/opt/wechat/electronic-wechat-linux-x64/electronic-wechat
-
Icon=/opt/wechat/electronic-wechat-linux-x64/electronic-wechat.png
-
Terminal=false
-
X-MultipleArgs=false
-
Type=Application
-
Encoding=UTF-8
-
Categories=Application;Utility;Network;InstantMessaging;
-
StartupNotify=false