在Ubuntu上安装微信

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):

  1. [Desktop Entry]
  2. Name=Electronic Wechat
  3. Name[zh_CN]=微信电脑版
  4. Name[zh_TW]=微信电脑版
  5. Exec=/opt/wechat/electronic-wechat-linux-x64/electronic-wechat
  6. Icon=/opt/wechat/electronic-wechat-linux-x64/electronic-wechat.png
  7. Terminal=false
  8. X-MultipleArgs=false
  9. Type=Application
  10. Encoding=UTF-8
  11. Categories=Application;Utility;Network;InstantMessaging;
  12. StartupNotify=false

猜你喜欢

转载自www.cnblogs.com/djx571/p/9368825.html