Ubuntu菜鸟入门(七)—— 微信安装

一、安装git

sudo apt-get install git

      设置自己的用户名和密码

sudo git config --global user.name "ABC"
sudo git config --global user.email "ABC@qq.com"

二、微信安装

1、下载项目

git clone https://github.com/geeeeeeeeek/electronic-wechat.git

2、进入项目目录

cd electronic-wechat

3、安装依赖包

npm install&& npm start

4、把它打包成一个app

npm run build:linux

三、一种很简单的微信安装方法:

1、下载微信:https://github.com/geeeeeeeeek/electronic-wechat/releases

2、移动微信客户端(下载解压重命名为wechat)到 /opt文件下,

sudo mv 下载/wechat  /opt

3、创建快捷方式

(1)随便找个微信的图标改名为wechat.jpeg放到/opt/wechat里面

sudo mv 下载/wechat.jpeg  /opt/wechat

(2)创建快捷方式

sudo gedit  /usr/share/applications/wechat.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=wechat
GenericName=wechat
Exec=/opt/wechat/electronic-wechat
Terminal=false
Icon=/opt/wechat/wechat.jpeg
Type=Application
Comment=wechat_web
Categories=Application;

4、启动器中就有wechat啦

  拖拉到桌面就有快捷方式了,上个效果图

原文地址:https://www.cnblogs.com/BlueMountain-HaggenDazs/p/6258833.html